Skip to main content

Post Install

If you're new to NeoVim/Vim#

We strongly encourage you to learn how to use NeoVim/Vim, as it's more than a normal text editor.

tip

These are highly recommend and a must do for any new Vimmer

  • Vim tutor
    :Tutor
  • In-built help docs
    :h <cmd>:h autocommand:h nvim.api:h insert
  • Google your issue
    • Example format query, neovim how to delete 10 lines

After the initial installation, we recommend setting up a few things based on your needs.

Install LSP Server(s)#

The Language Server Protocol (LSP) defines the protocol used between an editor or IDE and a language server that provides language features like auto complete, go to definition, find all references etc. For more information, check out neovim-lspconfig.

You need to include your language's lsp server name in the chadrc's lspconfig section (M.plugins) :

  lspconfig = {      servers = {"html","cssls"},   },
  • The example above shows that I have added html and css lsp server names in the servers table , this will setup lsp for html and css. Check to find the exact name of your lsp server. For css it was cssls so I included it in the servers table.

Install Treesitter Parser(s)#

The goal of nvim-treesitter is to provide basic functionality such as syntax-highlighting for various languages. For more info check out their repository at nvim-treesitter.

For example, to install the treesitter parser for css:

:TSInstall css

For a list of supported languages, please checkout the docs.

Theming#

NvChad ships with many themes. The default theme is onedark.

You may switch themes with this mapping: <leader> + th.

This will open a telescope fuzzy finder, with which you can preview and select a new default theme.