Commit graph

17 commits

Author SHA1 Message Date
d196ed266b refactor(vim): update the LSP config to better support nvim dev 2023-06-02 18:03:31 +01:00
984aee9a44 fix(vim): split out document highlight and diagnostic float auto commands
This was an issue when editing files that don't have an lsp server. The
document highlight is only enabled for lsp's. This splits out the
highlighting and the diagnostic float into two separate auto commands.
The document highlight is now only enabled when the lsp is registered.

The diagnostic float is now enabled for all files. This is because the
the vim diagnostics are used for lots of other things like spell checking
and codelimate.
2023-05-16 19:27:45 +01:00
3070940cd1 feat(core): start on the clojure journey
Install all of the tools and config for clojure development. This adds
the first configz module that is not yet properly integrated and
automaticaly run with the `dotfiles` shell command.
2023-04-25 21:00:23 +01:00
9c5b1acaa6 chore(vim): update lua lsp to be lua_ls instead of sumneko_lua 2023-04-25 20:37:52 +01:00
ce7b395e90 feat(vim): setup document highlighting and diagnostics on hover
Now when the editor is idle it will use the lsp to highlight other
references to the token under the cursor.

It will also show all the diagnostics in a popup like the lsp hover that
I manually use via <C-k>. This is helpful with long diagnostic messages
that run off the edge of the terminal when.
2023-03-16 20:48:12 +00:00
f56b6f95a2 fix(vim): swap out the BC in the cmp_nvim_lsp API 2023-02-09 19:44:18 +00:00
0598663b42 feat(vim): support nvim diagnostic popups for lsp
This has a better look and it makes all the hover popups look the same
from the linters to lsp.
2023-01-20 07:55:47 +00:00
64483f8cf6 feat(vim): add the rescript lsp 2023-01-20 07:55:11 +00:00
615413d6e2 style(vim): add lua style and luacheck and format lsp config again 2022-12-22 20:41:30 +00:00
2670607006 refactor(vim): update the lsp config
Remove old servers that don't get used any more. Move config into a
table for better visibility on what servers are installed and their
configs.
2022-12-22 20:38:56 +00:00
3e4a265578 style(vim): format lsp config 2022-12-22 20:12:50 +00:00
04a4d88c3c feat(vim): add the rust_analyzer lsp 2022-09-08 20:52:59 +01:00
12c916817a fix(vim): remove conflict keymap for lsp
This keymap is conflicting with switching windows up. This is baked into
my workflow with tmux navigator and vim
2022-09-08 20:50:59 +01:00
5103be7421 feat(vim): get emmet to load for erb files 2022-07-31 20:42:11 +01:00
1f9440bd30 feat(vim): add solargraph lsp to start the ruby stuff 2022-07-25 20:00:49 +01:00
Ade Attwood
2085bcb5fb feat(vim): enable lua support with linting and the lsp 2022-07-10 21:14:19 +01:00
Ade Attwood
c281311657 feat(vim): start moving back 2022-06-12 20:25:17 +01:00