Personal config used for NeoVim
Find a file
Stephen Seo 354ed23291 Add shortcuts to LSP get declaration/definition
nvim-lspconfig already has shortcuts to declaration/definition with "gd"
and "gD", but in testing, they did not behave the same as the shortcuts
defined in this commit for some reason.

<leader>d and <leader>D are the shortcuts defined for
definition/declaration (<leader> is by defalt back-slash "\").

Show floating diagnostic changed to <leader>F.
2024-04-17 13:02:12 +09:00
lsppack/pack/lsppackages/start Update submodules/plugins 2024-04-16 12:07:07 +09:00
pack/packages/start Add shortcuts to LSP get declaration/definition 2024-04-17 13:02:12 +09:00
.gitmodules Add submoduules of used nvim plugins 2023-07-06 16:15:08 +09:00
init.lua Update config for "quality-of-life" changes 2024-02-21 14:19:57 +09:00
README.md Update README.md 2024-02-21 15:18:09 +09:00

My NeoVim Config

This is just a dump of my NVim config.

Things to note before using

Normal mode "q" (macro shortcut) is disabled by default. If you want to enable use of this shortcut, you can disable it in the init.lua config file.

Installing This Config

  1. Clone the repo into $HOME/.config/nvim.
  2. Invoke git submodule update --init --recursive --depth=1 in $HOME/.config/nvim.

Updating This Config

  1. git pull or git fetch and merge.
  2. git submodule update --init --recursive
  3. Open nvim and invoke :TSUpdate to update tree-sitter.

Enabling LSP

In NeoVim, invoke :call loadlsp#loadlspall(), then reload the current open files with :e use the <leader>l (backslash and l) shortcut and LSP functionality will be enabled for the currently open file. If you have more than one buffer open, you may have to reopen them (with :e) for lsp plugins to take effect.

loadlsp#loadlspall() is a custom function that can be found here.

Other Notes

You can view currently registered normal-mode shortcuts with :nmap.

If you want to improve/support/file-an-issue about this config, send it to:

stephen AT seodisparate DOT com