Skip to content

Latest commit

 

History

History
105 lines (86 loc) · 3.18 KB

README.md

File metadata and controls

105 lines (86 loc) · 3.18 KB

nvim

badge-plugins badge-plugin-manager-name

My personal Neovim configurations.

preview

Check the reference below on how things are organized:

# .dotfiles/nvim
.
├── init.lua                  # LazyVim entry-point
├── lua
│   ├── config
│   │   ├── autocmds.lua      # Autocmds such as file types, and LSP attachment configs
│   │   ├── keymaps.lua       # Keybindings
│   │   ├── lazy.lua
│   │   └── options.lua       # Vim global options
│   ├── lsp
│   │   ├── config.lua        # Language servers settings
│   │   │                     #
│   │   └── servers           # Customization per language server
│   │  
│   └── plugins               # Plugin customization
│   │   │                     #
│   │   ├── colorscheme.lua   # Color theme
│   │   ├── editor.lua        # Editor settings
│   │   ├── formatting.lua    # Formatting and visual options in general
│   │   │
└── spell                     # Spellchecker dictionary

Disclaimer

This setup assumes the following:

How to install?

# backup previously existing settings
mv ~/.config/nvim{,.bak}

# optional but recommended
mv ~/.local/share/nvim{,.bak}
mv ~/.local/state/nvim{,.bak}
mv ~/.cache/nvim{,.bak}

# clone the main repo and move nvim configs
# to its default location
git clone https://github.com/silveiralexf/.dotfiles
mv .dotfiles/nvim ~/.config/nvim

# To have all plugins installed just go into
# the directory and start nvim
cd ~/.local/nvim
nvim .

Supported LSPs

All LSPs listed below are fully configured with syntax-highlighting, auto-completion, formatting, linting and different tweaks:

  • angularls
  • bashls
  • clangd
  • cmake
  • docker_compose_language_service
  • dockerls
  • eslint
  • golangci_lint_ls
  • gopls
  • groovyls
  • helm_ls
  • html
  • jdtls
  • jsonls
  • lua_ls
  • marksman
  • pylsp
  • rust_analyzer
  • taplo
  • terraformls
  • tflint
  • tsserver
  • volar
  • vuels
  • yamlls
  • zls

References & Inspirations

A big shout-out to thank the amazing folks, from which I borrowed ideas, and code to use as starting point for my own personal setup: