Skip to content

Latest commit

 

History

History
78 lines (59 loc) · 2.68 KB

README.md

File metadata and controls

78 lines (59 loc) · 2.68 KB

starter.lvim

A great starting point for your LunarVim journey!

starter.lvim is a collection of language specific LunarVim configs. Each config is in its git own branch, if you want to contribute see the guidelines.

starter.lvim/master

This branch contains a config for a couple common languages

Contents

Supported languages

Note formatting, diagnostics, completions should work out of the box for the languages below with the LunarVim configuration in this branch

  • C/C++
  • Typescript/Javascript
  • python
  • go
  • rust
  • bash
  • html
  • css
  • json
  • yaml
  • toml
  • dockerfile

Requirements

Most of the language servers installation should happen automatically, but there is a few that are manually configured and may requires manual installation.

Install them with the command below

:MasonInstall clangd rust_analyzer gopls

Binaries needed for diagnostics and formatting requires manual installation. You need to install them using the builtin mason.nvim or with your favorite package manager.

use the command below to install them with mason

:MasonInstall eslint_d prettier yamllint taplo goimports golangci-lint shellcheck shfmt hadolint flake8 black

Additional keybinds

Note Leader is mapped to Space

Mode Key Action
visual Leader+r+r Refactor selection
normal Leader+P Project menu
normal Leader+r+o Search and replace (open spectre panel)
normal Leader+r+f Search and replace (search current file)
normal Leader+r+c Search and replace (search word under cursor)
normal Leader+t+w Workspace diagnostics
normal Leader+t+d Document diagnostics
normal Leader+t+t LSP Type definitions
normal Leader+t+r LSP references
normal Leader+t+q Quickfix