Commit graph

413 commits

Author SHA1 Message Date
7b175abeb6
Merge pull request #171 from ksonj/lsp-mappings
lsp: make key bindings configurable
2023-10-23 08:42:34 +03:00
Kalle Jepsen
c693d2fbd4 lsp: make key bindings configurable
This exposes the keybindings for the lsp commands to the configuration
and maps a few more commands (e.g. `vim.lsp.buf.format()`) It also adds
a description to be picked up by whichkey to make the whichkey UX a bit
nicer (ie. we're now showing "Go to definition" instead of just
"vim.lsp.buf.definition()")
2023-10-22 22:42:55 +02:00
9b63ac826e
languages/bash: use mkEnableOption for enable options 2023-10-22 18:08:48 +03:00
6e448cf958
feat: bash language server 2023-10-22 18:02:55 +03:00
b358bfdbd0
docs: use literalAsciiDoc 2023-10-22 01:54:56 +03:00
c353329620
modules/visuals: add highlight-undo
a plugin for highlighting undo/redo targets
2023-10-22 01:22:31 +03:00
Kalle Jepsen
a452a0b0e7 fixes enable option descriptions
mkEnableOption already adds the phrase "Whether to enable ..." to the
beginning of the option description, such that the string argument
should only be "thing to be enabled"
2023-10-21 19:15:36 +02:00
Kalle Jepsen
49c0a5962f plugins: Replace null-ls with none-ls
null-ls is unmaintained as of August 2023 (see
https://github.com/jose-elias-alvarez/null-ls.nvim/issues/1621). none-ls
appears to be the accepted replacement fork.
2023-10-21 12:35:39 +02:00
Frothy
e722c97188 theme/oxocarbon: add oxocarbon theme module 2023-10-20 16:39:46 -06:00
0631fccccf
Merge pull request #159 from ksonj/python-isort
languages/python: add black-and-isort formatter
2023-10-20 17:49:09 +03:00
99c40c716b
statusline/lualine: get excluded buffers from a list in LSP status component 2023-10-20 15:03:00 +03:00
7b2e7cb6a8
statusline/lualine: use nvim_get_option_value() instead of nvim_buf_get_option()
Co-authored-by: Frothy <76622149+FrothyMarrow@users.noreply.github.com>
2023-10-20 12:50:51 +03:00
ff5555e3c8
statusline/lualine: disable LSP status inside toggleterm buffer 2023-10-20 11:34:29 +03:00
Kalle Jepsen
bdfad60e34 languages/python: fix isort package 2023-10-20 10:01:49 +02:00
Kalle Jepsen
e3b55d9798 languages/python: add black-and-isort formatter
Adds two additional formatters for python:

- isort, to only sort imports
- black-and-isort, which runs black + isort in a compatible manner
2023-10-20 09:58:03 +02:00
Kalle Jepsen
997a345cda utility/surround: vendor keybindings for surround
Adds an opioniated set of keybindings for nvim-surround that avoids
conflicts with nvim-leap by default and an option to disable those.
2023-10-17 12:47:44 +02:00
Kalle Jepsen
570eb32a5c utility/surround: run format 2023-10-16 13:02:37 +02:00
Kalle Jepsen
59c23f2855 utility/surround: Add mappings for nvim-surround
The default mappings for nvim-leap and nvim-surround conflict
(i.e. nvim-surround uses `S` in visual mode). This change adds options
to adapt the mappings for nvim-surround directly from the
surround-module.
2023-10-16 11:53:24 +02:00
isabel
38371e56b0
fix: typo ledaer -> leader 2023-10-14 19:35:43 +01:00
8c4d7a3673
ui/noice: disable messages by default
fixes completion sources showing up every single time
2023-10-14 14:52:55 +03:00
Ching Pei Yang
0614dbfd0a
fix: typo 2023-10-10 13:16:09 +02:00
Yoni FIRROLONI
4161589b56 languages/php: init 2023-10-10 12:12:57 +02:00
ec574e1c00
languages/python: replace deprecated string type 2023-10-06 13:57:48 +03:00
6e4f70283a
Merge pull request #144 from jacekpoz/plugin-thingy-deprecation 2023-10-03 21:24:28 +03:00
jacekpoz
bfb8ada774
fix: stop using deprecated buildVimPluginFrom2Nix 2023-10-03 19:48:09 +02:00
Ching Pei Yang
1deee2f27b fix: add missing on_attach for jdtls 2023-09-26 14:39:50 +02:00
Ching Pei Yang
18dabf1725 doc: improve description of neodev 2023-09-23 15:41:34 +02:00
Ching Pei Yang
456295b46e feat: add neodev plugin 2023-09-23 15:37:04 +02:00
Ching Pei Yang
bdebf01a67 feat: add lua treesitter & lsp 2023-09-23 15:37:04 +02:00
0a1a12e778
Merge pull request #134 from horriblename/optional-lsp-installation 2023-09-23 13:19:14 +03:00
Ching Pei Yang
0843e95efa doc: update description of all lsp.package 2023-09-23 03:26:41 +02:00
jacekpoz
ed79b6efa5
Merge remote-tracking branch 'upstream/main' 2023-09-21 12:15:22 +02:00
jacekpoz
391f18ce29
feat: disable useSystemClipboard by default 2023-09-21 12:14:35 +02:00
Ching Pei Yang
0e66f6282b feat: make svelte lsp install optional 2023-09-19 22:53:10 +02:00
Ching Pei Yang
232d93024c feat: make clang lsp install optional 2023-09-19 22:53:10 +02:00
Ching Pei Yang
ed09cb7ed6 feat: make dart lsp install optional 2023-09-19 22:53:10 +02:00
Ching Pei Yang
35e86d1f12 feat: make sql lsp install optional 2023-09-19 22:53:10 +02:00
Ching Pei Yang
54f52bec2b feat: make python lsp install optional 2023-09-19 22:53:10 +02:00
Ching Pei Yang
13c3026362 feat: make typescript lsp install optional 2023-09-19 22:53:10 +02:00
Ching Pei Yang
a0399722a0 feat: make java lsp install optional 2023-09-19 22:52:24 +02:00
Ching Pei Yang
2075211c18 feat: make zig lsp install optional 2023-09-19 22:52:24 +02:00
Ching Pei Yang
3ca97bccbc feat: make rust lsp install optional 2023-09-19 22:52:24 +02:00
Ching Pei Yang
3907c61f9b feat: make go lsp install optional 2023-09-19 22:52:24 +02:00
Ching Pei Yang
2f0efdbf15 feat: make nix lsp install optional 2023-09-19 22:52:24 +02:00
jacekpoz
944bd6d451
feat: update clangd to 16 2023-09-17 19:07:01 +02:00
jacekpoz
0d6a5a928f fix: actually set scrollOffset 2023-08-25 22:18:50 +02:00
5b8e4a89a1
Merge pull request #120 from FrothyMarrow/fix/cursorline 2023-08-17 22:51:09 +03:00
Ching Pei Yang
e721456fe3 fix: use boolToString on boolean 2023-08-14 14:25:06 +02:00
Yavor Kolev
97764f6140
Merge branch 'NotAShelf:main' into overhaul-spell 2023-08-11 16:56:47 +03:00
b1184bab47
fix: warns due to types.string deprecation 2023-08-11 10:04:56 +03:00