Commit graph

496 commits

Author SHA1 Message Date
38bf156537
Merge branch 'main' of github.com:NotAShelf/neovim-flake into nim-lang 2024-02-07 20:05:41 +03:00
e9ad2f8ac8
languages/nim: init 2024-02-07 07:24:44 +03:00
AmanSe
0e94edd88f
Fix java lsp not launching
java lsp pacakge in nixpkgs changed the execution binary name, just
using getExe for probably a permanent fix to this situation
2024-01-31 20:01:45 +05:30
f94e6e12ec
statusline/lualine: avoid hardcoding config options 2024-01-26 21:16:56 +03:00
d47f45729f
languages: add css and tailwind language support 2024-01-24 21:53:28 +03:00
Donnerinoern
0bfefe9779 languages/markdown: fixed glow not working and added option for changing keybind 2024-01-18 20:04:17 +01:00
Donnerinoern
75d553bf64 languages/markdown: added marksman LSP 2024-01-18 20:02:45 +01:00
4ded86d1ff
Merge pull request #195 from Donnerinoern/theme/gruvbox
Theme: Added Gruvbox
2024-01-18 10:54:53 +00:00
Donnerinoern
e8acabee78 Theme: Added Gruvbox 2024-01-18 11:41:26 +01:00
Frothy
8b54a4eb6f rich-presence/neocord: fix log_level config 2024-01-17 18:54:27 -05:00
428e49d303
modules/rich-presence: deprecate presence-nvim in favor of neocord 2024-01-16 14:05:56 +03:00
Ching Pei Yang
dd96499826
fix: disable empty winbar when breadcrumbs are disabled 2023-12-07 02:31:08 +01:00
Kalle Jepsen
f1406a30bb languages: add terraform language support 2023-11-28 11:14:04 +01:00
Frothy
4453d5c9dd
visuals/indent-blankline: rename scope.showCurrContext to scope.enabled 2023-11-24 12:05:19 +03:00
0067d44695
modules/visuals: update indent-blankline to v3 2023-11-16 12:18:22 +03:00
Frothy
4dc7576176 treewide: change modules to use 'inherit (builtins) ... 2023-11-14 00:18:32 -07:00
Frothy
7518c31ca8 treewide: move missing modules from 'with lib' to 'inherit (lib) ...' 2023-11-07 19:16:46 -07:00
b4972956a2
ui/smartcolumn: inherit library function from lib 2023-11-07 14:24:11 +03:00
Frothy
ffa25c8c8a treewide: move from 'with lib' to 'inherit (lib) ...' 2023-11-06 21:41:53 -07:00
3fde6a4bf3
modules/core: inherit literalExpression from lib 2023-11-06 12:39:54 +03:00
c1f449137f
treewide: cleanup 2023-11-06 12:33:38 +03:00
385d91f7e4
docs: use literalMD for example codeblocks
Co-authored-by: Ching Pei Yang <59727193+horriblename@users.noreply.github.com>
2023-11-06 11:15:33 +03:00
9328443273
docs: use inline anchors for referenced options 2023-11-06 03:46:51 +03:00
3de5f1ba39
docs: use nixosOptionDocs
NixOS 23.11 is deprecating DocBook option documentation. Following home-manager in this change is probably a good idea
2023-11-04 14:30:04 +03:00
Kalle Jepsen
17d8409109 basic: declare option to set smartcase or ignorecase 2023-10-28 14:53:06 +02:00
83802bb7db
lsp/nvim-docs-view: add keybinds 2023-10-27 09:30:20 +03:00
ce8fdf0003
modules/lsp: add nvim-docs-view
A neovim plugin to display lsp hover documentation in a side panel.
2023-10-26 15:03:58 +03:00
Kalle Jepsen
2a809a64ff statusline/lualine: Move helper to lib 2023-10-24 09:18:44 +02:00
Kalle Jepsen
11a974a111 statusline/lualine: extensible sections
This adds extraActiveSection and extraInactiveSection to the lualine
options to make it possible to easily extend the defaults with
additional sections. We're also changing the exposed type of the
*activeSection attributes from `str` to `listOf str`.
2023-10-23 21:08:31 +02:00
2b48b6d844
Merge pull request #156 from horriblename/feat-disable-autoformat
feat: allow disabling format on save per buffer
2023-10-23 20:22:01 +03:00
7b8f68e6d0
visuals/highlight-undo: increase highlight timeout duration 2023-10-23 20:15:31 +03:00
Ching Pei Yang
d43afa4316 feat: keybind to toggle format on save 2023-10-23 18:50:15 +02:00
Frothy
e749ab20d3 lsp: remove duplicate keybindings from config 2023-10-23 08:46:49 -06:00
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
de48713394
fix: missing closing bracket when navbuddy is disabled 2023-08-10 20:31:56 +03:00
a9430961e8
dev: clean up breadcrumbs module
potentially avoid unwanted plugin loads
2023-08-10 20:18:21 +03:00
35ea9e5da3
fix: add missing args to the dracula setup 2023-08-10 17:42:54 +03:00
yavko
13416f0cdf
style(spell): apply suggestions 2023-08-10 14:48:18 +03:00
AmanSe
13878ce081
feat: Initial jdtls support 2023-08-09 17:06:13 +05:30
Frothy
0a826fb4d3 refactor: remove unnecessary word 'enable' from mkEnableOption 2023-08-07 21:32:14 -04:00
6ab7d7667d
feat: build orgmode grammar manually 2023-08-07 14:56:29 +03:00
Frothy
d126519514 fix: cursorline configuration 2023-08-06 22:30:06 -04:00
yavko
31c237d149
feat(spell): add multiple language support and vim-dirtytalk
BREAKING CHANGE: `vim.spellChecking.language` is replaced with `vim.spellChecking.languages`
2023-08-06 14:24:54 +03:00
7190ee4b87
fix: lua syntax mismatch for global formatting and nix language
the nix expression for formatter configuration were missing two curly closing brackets
2023-08-05 21:33:31 +03:00
6173845515
docs: fix mismatching option definitions 2023-08-05 15:15:04 +03:00
fcaed357f4
feat: customizable neovim package 2023-08-01 17:28:06 +03:00
f0dffff72e
feat: rewrite nvimtree configuration and rename nvimTreeLua to nvimTree
WARNING: breaking change - see #109
2023-07-31 13:50:10 +03:00
e35613d004
Merge branch 'main' into feature/nix-diagnostics 2023-07-31 13:41:27 +03:00
fe36dbf6e1
Merge pull request #112 from NotAShelf/feature/lsp-lines 2023-07-31 13:40:33 +03:00
c933684647
feat: configurable leader key 2023-07-31 13:40:13 +03:00
35f3be1306
feat(languages/nix): statix & deadnix diagnostics 2023-07-31 13:34:55 +03:00