Skip to content
This repository has been archived by the owner on Jul 22, 2022. It is now read-only.

Latest commit

 

History

History
58 lines (39 loc) · 2.18 KB

EXTENDING.md

File metadata and controls

58 lines (39 loc) · 2.18 KB

If you are new to lua

Check out this great neovim lua guide

Where do I ask for help?

Where to seek for settings

  • :h options.txt
  • Look at someone else's dotfiles; :h ... on unknown options

Where to seek for plugins

Recommended plugins

Extending nv

Treesitter

If you wish to install treesitter parser for language:

  • :TSInstall lang_name
  • Add parser name into ensure_installed (lua/config/treesitter.lua)
  • If your parser is not in list of available parser - add it manually

Colorscheme

Choose any colorscheme you like, but if you will continue using treesitter - make sure it is treesitter-compatible.

Changing something in plugins specification file

Run :PackerCompile after every completed change. Otherwise your configuration might not work until you run :PackerSync

Mappings

Do not use default mappings unless you are ok with them. Try everything and change if it is not suitable for you.

Options

Before changing/adding and option in lua\options.lua make sure you know what does it do. Otherwise read help page for it (:h "option")

Tweaking plugin configuration

nv leaves only changed options in plugin config files, so if you want to learn more about plugin options -

  • :h $pluginname
  • Read plugin's README file