217 Commits

Author SHA1 Message Date
18d5f5896b Add gopls language server 2025-04-27 22:08:00 +01:00
Kenneth Benzie (Benie)
946d1e7b4a Add :LStrip command to strip whitespace on the left 2025-04-03 16:27:43 +01:00
14709a12a7 Remove unicode from statusline
Some terminals use more characters than others for to display certain
unicode code points, this resulted the statusline to "leak" past the end
of the line causing characters at the next line to be highlighted
incorrectly.
2025-03-05 10:48:56 +00:00
830ace507e Add tablegen treesitter parser 2025-02-04 17:23:16 +00:00
96e912181c Use nvim_treesitter#indent() for Python 2025-01-25 20:33:06 +00:00
7536173150 Add confTodo to list of Comment highlights 2025-01-24 13:28:14 +00:00
d0315cc1ee Fix typo of vim.cmd.highlight 2025-01-24 13:28:14 +00:00
de0e52f0db Add WezTerm multiplex support to navigation bindings 2025-01-12 20:21:35 +00:00
e929956a8c Add markdown table mode plugin 2024-12-20 22:44:55 +00:00
c895484b75 Fix comment alignment 2024-12-07 16:36:16 +00:00
2814270762 Add C/C++ include guard snippet 'once' 2024-12-04 14:54:59 +00:00
dc78a25253 Add :DiagnosticToggle command to quickly (dis,en)able diagnositcs 2024-11-22 14:20:59 +00:00
a13d97f3ff Switch to ruff from deprecated ruff_lsp 2024-11-08 22:08:52 +00:00
33f3e8e920 Refactor TODO highlight group overrides 2024-10-04 16:49:38 +01:00
cd5cd3ba69 Update comments in commands.lua 2024-09-21 10:32:18 +01:00
7963c56fd9 Add :Tac command to replace :!tac & be cross-platform 2024-09-21 10:26:46 +01:00
55f5da7db7 Make Powershell script TODO's not highlighted 2024-09-18 10:22:40 +01:00
0434fc3ac2 Don't use compdb on Windows since its borked 2024-09-18 10:22:22 +01:00
Kenneth Benzie (Benie)
2cd7d34375 Actually fix restarting the LSP in :BuildDir job callback 2024-08-06 17:29:36 +01:00
d1f83a05b9 Use LspStop and LspStart instead of LspRestart 2024-07-19 20:58:27 +01:00
8b4258408e Add :CheckboxToggle and mapping 2024-07-11 20:09:43 +01:00
8a5f4a3063 Switch to lazydev from the archived neodev 2024-07-11 19:50:31 +01:00
Kenneth Benzie (Benie)
aa7da3dfe2 Don't be clever with number/relativenumber in terminals 2024-07-08 14:12:14 +01:00
68e8635ae1 Switch back to upstream cmp-git 2024-07-02 13:15:26 +01:00
Kenneth Benzie (Benie)
6217dd7f54 Don't map 0 to #if 0 in normal mode 2024-06-11 12:34:56 +01:00
2bae0d50d6 Switch to nvim-impairative for pairwise mappings 2024-06-01 15:07:06 +01:00
59d3ea0978 Make cpp for snippet dynamic 2024-06-01 10:30:52 +01:00
0410dfc23d Switch to mini.comment from comment.nvim
Even though v0.10.0 introduced builtin support for `gc{motion}` to
toggle comments it does not support ignoring blank lines. Also switch to
using mini.comment as its the same author as the builtin support.
2024-05-28 23:28:49 +01:00
0d1983e8bb Fix weirdness in gopls completions 2024-05-25 23:37:57 +01:00
c3fe8e033a Remove stray print in :Rg command 2024-05-25 23:32:14 +01:00
0f4e759266 Add main Go snippet 2024-05-25 23:11:27 +01:00
b146971918 Change document symbols mapping 2024-05-25 13:17:54 +01:00
a365bcb6b5 Don't repeat yourself in custom lspconfigs 2024-05-25 13:14:05 +01:00
6affd78df7 Cleanup nvim-cmp config callback 2024-05-25 13:13:35 +01:00
fcd5cfbd54 Extend :Rg to support visual select mode
Also move away from using the telescope builtin grep for word under
cursor mapping by extending the `:Rg` command to work in the following
circumstances:

* `:Rg text to search for`
* `:Rg` word under cursor
* `'<,'>Rg` visual selection
2024-05-25 11:03:06 +01:00
1996e631a3 Add :PreProcIfWrap command and C/C++ mappings
Quickly wrap a line or range in `#if 0`/`#endif` to quickly disable
compilation of sections of code.
2024-05-25 11:02:57 +01:00
0602390a2d Add telescope extension to list luasnip snippets 2024-05-25 10:22:35 +01:00
b0cfb31645 Add func snippet for go 2024-05-24 23:09:47 +01:00
Kenneth Benzie (Benie)
aba1664d09 Cleanup unused arg in statusline implementation 2024-05-24 16:04:23 +01:00
Kenneth Benzie (Benie)
9d5868304f Add reStructureText snippets file 2024-05-24 11:05:18 +01:00
56beb52997 Simplify clangd command 2024-05-22 21:35:47 +01:00
48ad466bd3 Vanquish ftdetect, long live vim.filetype.add() 2024-05-22 21:29:36 +01:00
4499dee3d6 Move statusline.lua to plugin directory 2024-05-22 21:08:27 +01:00
d75531ae3d Make statusline functions global 2024-05-22 21:06:28 +01:00
Kenneth Benzie (Benie)
9f0d9890fd Ensure all LSP capabilities are broadcast 2024-05-20 11:15:11 +01:00
ccec3232b5 Make it easier to have multiple colorscheme plugins 2024-05-18 14:05:22 +01:00
Kenneth Benzie (Benie)
ed74a5909a Use clangd --completion-style=detailed option 2024-05-17 11:47:18 +01:00
5da8a3c2f6 Move ui.lua to plugin directory 2024-05-14 22:50:55 +01:00
75f9b205bd Move build.lua to plugin directory 2024-05-14 22:45:48 +01:00
f5ab986397 Set vim.g.mapleader as early as possible 2024-05-14 22:45:20 +01:00