Commit graph

828 commits

Author SHA1 Message Date
Frothy
2c9a9b4d29
Merge pull request #289 from horriblename/lua-include-empty-attrs
lib: do not filter out empty attrs in toLuaObject
2024-05-21 07:16:03 -04:00
Ching Pei Yang
af72dc105d lib: remove unused __empty special case in toLuaObject 2024-05-18 14:52:40 +02:00
9d0247c599
statusline/lualine: add a left separator to the searchcount component 2024-05-17 19:10:58 +03:00
f0f2c08e9f
lsp/null-ls: use string type for diagnostic format 2024-05-16 19:35:19 +03:00
cfbed8ceb1
modules/wrapper: remove redundant instances of literalExpression 2024-05-16 19:13:44 +03:00
1ce25d7ca3
modules: reorder args 2024-05-16 19:11:39 +03:00
eefc7a9d1d
lsp/null-lsp: allow null-ls options to be configured
This should probably still be converted to setupOpts. Missing docs
2024-05-16 19:11:37 +03:00
raf
74df3a5f03
Merge pull request #292 from jacekpoz/main
languages/ocaml: init
2024-05-16 13:32:44 +00:00
jacekpoz
7224c1e6af
languages/ocaml: add ocaml to maximal config 2024-05-16 14:39:43 +02:00
jacekpoz
f343ab8b3a
languages/ocaml: add formatter to nvf's env 2024-05-16 14:25:23 +02:00
jacekpoz
208d1e6741
languages/ocaml: follow other languages' format 2024-05-16 14:25:07 +02:00
493854e44f
lualine: improve consistency between components; add more diagnostic sources 2024-05-16 07:45:15 +03:00
jacekpoz
cc0aba4e21
languages/ocaml: add formatting support 2024-05-15 21:09:46 +02:00
jacekpoz
db810bbf9f
languages/ocaml: init 2024-05-15 20:40:15 +02:00
b5f38b8e5e
lualine: increase theme compatibility; fix component definitions 2024-05-15 13:09:45 +03:00
Ching Pei Yang
7d9f1e0481 colorizer: add example 2024-05-12 03:15:04 +02:00
Ching Pei Yang
82e92a56da colorizer: move back to setupOpts 2024-05-12 02:11:59 +02:00
Ching Pei Yang
981fe07075 colorizer: allow null for all options 2024-05-12 01:46:57 +02:00
407ecf00d5
wrapper/rc: add vim.additionaLuafiles
Allows the user to specify a list of lua files that will be called via `luafile`. All paths
that are passed to this option are checked by `builtins.isPath` so attempting to source paths
that do not exist do not result in a broken Lua configuration.
2024-05-09 00:44:58 +03:00
ea5f229efd
languages/markdown: convert extra ft list to lua table 2024-05-08 00:31:23 +03:00
41f7abcdc3
languagess/markdown: add missing config section 2024-05-08 00:22:12 +03:00
544c98a03b
Merge branch 'main' of github.com:NotAShelf/nvf into minor-lang-refactor 2024-05-07 01:04:47 +03:00
e96897f6b3
languages/elixir: readd; format module options 2024-05-07 00:52:33 +03:00
bf090172d2
modules/extra: init deprecations module; warn for elixir & vim-tidal 2024-05-06 23:43:34 +03:00
6eba2a5585
languages: move bash & dart configurations to standalone files 2024-05-06 23:43:32 +03:00
1847b9f1bf
languages/tidal: remove 2024-05-06 23:43:31 +03:00
d06ff3d7db
languages/markdown: move to standalone file; add deno formatter 2024-05-06 23:43:30 +03:00
Frothy
83583e9b64 plugins/lsp: filter out null mappings 2024-05-06 16:05:43 -04:00
Frothy
9fe96ce010 utility/telescope: remove duplicate telescope module 2024-05-06 08:46:04 -04:00
Pei Yang Ching
3ad560ea30 treesitter: fix ts context keybinds 2024-05-05 02:37:57 +02:00
Pei Yang Ching
2c37513012 colorizer: fix nonsense options 2024-05-05 02:18:19 +02:00
Frothy
4df41ae0d0 visuals/fidget: use submodule for notification group overrides 2024-05-01 23:19:44 -04:00
ItsSorae
4056deb411 languages/typst: add typst language support 2024-04-28 15:07:41 -04:00
Ching Pei Yang
8c5a63e72c treesitter: cleanup unused 2024-04-28 12:23:59 +02:00
Ching Pei Yang
636eba77d7 treesitter: fix example 2024-04-28 12:23:41 +02:00
Ching Pei Yang
f0631c2d26 fidget: do not apply mkLuaInline to str opts 2024-04-27 16:09:27 +02:00
Ching Pei Yang
c220da2af9 fidget: remove ineffectful option
whether you set clear_on_detach to true or false you still get the
default behaviour
2024-04-27 16:09:27 +02:00
1740b437c0
neovim/spellcheck: disable programming wordlist
errors as it cannot download its spellfile. needs to be fixed
2024-04-27 16:22:42 +03:00
aaf286dce4
modules: fix merge conflicts 2024-04-27 16:13:19 +03:00
b397dcb430
Merge branch 'main' into v0.6 2024-04-27 16:09:37 +03:00
97a64abeff
treewide: clean up references to neovim-flake 2024-04-27 15:51:22 +03:00
a56aa7b6e2
notifications/nvim-notify: add render opt; update trace symbol 2024-04-27 00:21:27 +03:00
bba0ba92a6
Merge pull request #261 from NotAShelf/treesitter
plugins/treesitter: migrate legacy codebase; refactor
2024-04-26 14:14:31 +00:00
694012dbd8
neovim/init: override vim syntax highlighting with Treesitter
see: «https://github.com/nvim-treesitter/nvim-treesitter/issues/2254»
2024-04-30 08:08:54 +03:00
616c00ab46
plugins/treesitter: generate Lua configuration from Nix 2024-04-28 21:04:28 +03:00
c8d38872ab
plugins/treesitter: migrate treesitter-context to new setupOpts 2024-04-28 20:19:25 +03:00
5246cf50de
plugins/theme: enable ts-context support for Catppuccin 2024-04-25 01:52:19 +03:00
2941092470
Revert "plugins/treesiter: set up fold after basic"
This reverts commit 92c94fda20.
2024-04-25 01:36:58 +03:00
92c94fda20
plugins/treesiter: set up fold after basic 2024-04-25 01:31:10 +03:00
103941e270
treesitter/ts-context: fix duplicate config entry 2024-04-24 23:50:49 +03:00
feb7cd731e
plugins/treesitter: write setup options after basic DAG 2024-04-24 23:34:39 +03:00
4b868d0de6
wrapper/rc: loop over removed runtime paths
Would be neat to expose removed paths as a list in the future
2024-04-23 21:10:39 +03:00
ad9d0c6cdb
ui/noice: add missing treesitter grammars 2024-04-23 20:43:41 +03:00
5e12c2315a
plugins/treesitter: allow user to toggle default grammars 2024-04-23 20:20:49 +03:00
5e08ed42e7
plugins/treesitter: allow highlight to be fine-grained 2024-04-23 16:48:39 +03:00
49b705b6aa
plugins/treesitter: fix typo in doc comment 2024-04-23 16:24:00 +03:00
7fd653b4d8
plugins/treesitter: add an internal defaultGrammars options 2024-04-23 16:08:55 +03:00
495e7620d2
plugins/treesitter: move nvim-treesitter-context to its own dir 2024-04-23 16:08:36 +03:00
2680be20a3
neovim/debug: handle debug log path correctly 2024-04-23 14:55:11 +03:00
Kalle Jepsen
140ed6daa8
assistant/chatgpt: Add jackMort/ChatGPT.nvim 2024-04-21 05:20:31 +03:00
50609c731e
wrapper/rc: document vim.globals better 2024-04-21 05:19:51 +03:00
72a5e6c684
wrapper/rc: remove redundant lib calls 2024-04-21 04:28:56 +03:00
2f4dcafaa3
modules: pass extraPackages to wrapper PATH 2024-04-21 03:21:48 +03:00
fecf9f48be
wrapper/rc: ignore user directories by default 2024-04-21 02:59:18 +03:00
be0fd17510
wrapper/rc: document enableLuaLoader better; link to docs 2024-04-21 02:34:54 +03:00
eb8d75a4ae
modules/neovim: move all mapping options to 2024-04-21 02:27:42 +03:00
7647353c40
modules/wrapper: make all wrapper features configurable
following features have been made configurable `withRuby`, `withNodeJs`, `withPython3` and `python3Packages`
2024-04-21 02:23:07 +03:00
d9a984bf6f
modules/wrapper: move RC features to wrapper/rc 2024-04-21 02:10:06 +03:00
ff999f3803
filetree/nvimtree: suppress internal disableNetrc warning 2024-04-21 01:06:10 +03:00
e982955540
modules: add documentation comments to internal variables 2024-04-20 23:42:48 +03:00
0388898648
docs: fix build failures due to literalMD 2024-04-20 19:07:54 +03:00
4d8dcc7e49
modules/neovim: rename vim.spellChecking to vim.spellcheck
more consistent this way
2024-04-20 19:00:20 +03:00
43263040a4
treewide: restructure modules directory; add comments to modules top-level import 2024-04-20 18:12:36 +03:00
6eea801cd6
neovim/spellcheck: allow disabling spellchecking for filetypes 2024-04-20 18:12:35 +03:00
27eedd0db6
plugins/spellcheck: use the internal vim.spellChecking as enable condition 2024-04-20 18:12:32 +03:00
f3817fb4b2
Merge pull request #254 from horriblename/fix-bad-import
Add rename warnings for nvimTree.setupOpts.*
2024-04-20 14:02:41 +00:00
Ching Pei Yang
b38886d25d refactor: extract function to lib 2024-04-20 14:59:46 +02:00
Ching Pei Yang
79e1691120
Merge pull request #255 from horriblename/unfuck-fuckups
Fix rebase mistakes
2024-04-20 14:29:17 +02:00
Ching Pei Yang
3766db3503 fix: bad rebase 2024-04-20 14:28:04 +02:00
ef6be76313
core/build: allow paths in additionalRuntim
an option with path in its name doesn't take a path, what a tragedy
2024-04-20 13:39:02 +03:00
13b59b00db
Merge pull request #256 from horriblename/cleanup-extra-print
cleanup: extra print
2024-04-20 09:58:34 +00:00
Ching Pei Yang
8fe69dd332 cleanup: extra print 2024-04-20 02:14:43 +02:00
Ching Pei Yang
e710afd1ac fix: add rename warnings for nvimtree.setupOpts 2024-04-19 21:14:41 +02:00
Ching Pei Yang
bea3b43733 fix: renamed option as setupOpts 2024-04-19 21:11:22 +02:00
Ching Pei Yang
99fd8c9eb6 fix: bad import 2024-04-18 20:58:27 +02:00
60dd98c761
core/build: add luaConfigPre and luaConfigPost
This allows for the insertion of verbatim lua configurations without resorting to the DAG system
2024-04-17 13:12:29 +03:00
jacekpoz
b93ce3ced8
plugins/nvim-cmp: add alwaysComplete option
Disabling this option makes the completion window not popup by default,
requiring manual activation.
2024-04-15 00:52:20 +02:00
7cb47c71b3
utility/telescope: add plenary-nvim to explicit dependencies 2024-04-14 19:11:40 +03:00
7ef583aeee
plugins/gitsigns: fix renamedOptionModule definition 2024-04-14 18:45:58 +03:00
f78696f13b
plugins/git: add vim-fugitive; modularize 2024-04-14 18:36:49 +03:00
165c3369aa
plugins/glow: get pushDownDefault from lib.nvim.binds 2024-04-14 17:21:14 +03:00
011e6c0c8b
neovim/basic: remove option list in lineNumberMode opt description 2024-04-14 15:09:13 +03:00
cb362a7905
modules/core: move mkSection functions to lib/dag 2024-04-14 14:49:45 +03:00
b4384a833f
modules: move vim-dirtytalk to plugins/spellcheck 2024-04-14 14:43:18 +03:00
576429ba5c
basic/spellcheck: pass a string to literalExpression 2024-04-14 14:19:43 +03:00
88cf62fbc8
modules: add prefix to plugin builder 2024-04-09 09:55:45 +03:00
859b03dfde
flake: autodiscover plugin inputs 2024-04-08 03:28:49 +03:00
51e28d415a
lib: move global functions to extended lib 2024-04-08 01:36:59 +03:00
a12ba5689a
lib: move all binding related functions to lib/binds 2024-04-07 18:31:06 +03:00
7c730a78e5
treewide: begin restructuring the module tree 2024-04-07 17:16:13 +03:00
Ching Pei Yang
01e35f9877 fix: temp descriptions 2024-04-06 19:57:28 +00:00
Pei Yang Ching
893742f6e9 cleanup: remove more nvim-compe 2024-04-06 19:12:58 +02:00
Pei Yang Ching
1d5fa0afdc remove sub-options for lualine.setupOpts
Having users to use setupOpts for lualine would suck since lualine uses
the `{"module", option = value} lua syntax heavily and we don't have a
good syntax for that
2024-04-06 19:10:13 +02:00
87e8732461
statusline/lualine: fix wrong type for nvim-navic 2024-04-06 19:14:47 +03:00
Ching Pei Yang
2d9c1b34c6 cleanup: remove references to nvim-compe 2024-04-04 18:11:29 +00:00
Ching Pei Yang
29f78f7827 fix(nvimtree): errors in refactor 2024-04-04 18:11:29 +00:00
Ching Pei Yang
5d8eb192d7 plugins: switch to mkLuaInline 2024-04-04 18:10:27 +00:00
Ching Pei Yang
5ea6272bee feat(smartcolumn): custom setup opts 2024-04-04 18:03:29 +00:00
Ching Pei Yang
80fee9dae7 feat(nvim-notify): custom setup opts 2024-04-04 18:03:29 +00:00
Ching Pei Yang
64f167e7c5 feat(modes): custom setup opts 2024-04-04 18:03:29 +00:00
Ching Pei Yang
5387ca2b5a feat(colorizer): custom setup opts 2024-04-04 18:03:29 +00:00
Ching Pei Yang
7e16923952 refactor: reduce duplicate code 2024-04-04 18:03:29 +00:00
Ching Pei Yang
4b79c50201 feat(breadcrumbs): custom setup opts 2024-04-04 18:03:29 +00:00
Ching Pei Yang
daa10b508b feat(toggleterm): custom setup opts 2024-04-04 18:03:29 +00:00
Ching Pei Yang
59d5ac0d63 feat(session-manager): custom setup opts 2024-04-04 18:03:29 +00:00
Ching Pei Yang
0e802c03ef feat(neocord): custom setup 2024-04-04 18:03:29 +00:00
Ching Pei Yang
6fd35972d9 feat(autopairs): custom setup opts 2024-04-04 18:01:12 +00:00
Ching Pei Yang
4db6950558 feat(project-nvim): custom setup 2024-04-04 18:01:12 +00:00
Ching Pei Yang
3f4ef987dd feat(todo-comments): custom setup 2024-04-04 18:01:12 +00:00
Ching Pei Yang
2feaadc266 feat(orgmode): custom setup 2024-04-04 18:01:12 +00:00
Ching Pei Yang
e5fba51877 feat(obsidian-nvim): custom setup 2024-04-04 18:01:12 +00:00
Ching Pei Yang
88c22ef026 feat(copilot): custom setup opts 2024-04-04 18:01:12 +00:00
Ching Pei Yang
62b0791b75 feat(docs-view): custom setup 2024-04-04 18:01:12 +00:00
Ching Pei Yang
379231b43d feat(lsp-signature): custom setup 2024-04-04 18:01:12 +00:00
Ching Pei Yang
df8784c65f feat(telescope): add custom setup options 2024-04-04 18:01:12 +00:00
Ching Pei Yang
376c8bafd0 feat(lualine): add custom setup options 2024-04-04 17:59:11 +00:00
Ching Pei Yang
4001943a7b feat(nvimtree): add custom setup options 2024-04-04 17:59:11 +00:00
5955d53077 modules/ui: switch to explicit lib calls 2024-04-04 17:58:49 +00:00
db0df5c211
flake: update plugin inputs 2024-04-03 21:13:19 +03:00
Frothy
974bfcc78e treewide: make lib calls explicit 2024-03-23 20:31:33 -04:00
a7531186a8
modules/ui: switch to explicit lib calls 2024-03-16 16:25:30 +03:00
81b9a8a95c
modules/treesitter: switch to explicit lib calls 2024-03-15 14:19:11 +03:00
b54032f3f3
modules/projects: switch to explicit lib calls 2024-03-12 03:48:38 +03:00
03025f76e1
modules/session: switch to explicit lib calls 2024-03-12 03:48:24 +03:00
e5383a8123
modules/snippets: switch to explicit lib calls 2024-03-12 03:48:10 +03:00
3a9f5db55f
modules/statusline: switch to explicit lib calls 2024-03-12 03:47:57 +03:00
e80f2c9280
modules/tabline: switch to explicit lib calls 2024-03-12 03:47:41 +03:00
32c2e7733a
modules/terminal: switch to explicit lib calls 2024-03-12 03:47:27 +03:00
2c483d90af
modules/theme: switch to explicit lib calls 2024-03-12 03:47:12 +03:00
2101ac9061
modules/notes: switch to explicit lib calls 2024-03-12 03:47:01 +03:00
f6db808bfc
modules/minimap: switch to explicit lib calls 2024-03-12 03:46:46 +03:00
c488f0490f
modules/lsp: switch to explicit lib calls 2024-03-12 03:46:29 +03:00
dfc7c6737f
modules/languages: finish making lib calls explicit 2024-03-09 08:49:22 +03:00
6d3f28283f
modules/languages: switch to explicit lib calls 2024-03-09 05:02:12 +03:00
Frothy
d29934b859 wrapper: migrate to makeNeovimUnstable wrapper 2024-02-29 15:15:47 -05:00
Frothy
83da7acf65 images/image-nvim: remove assert for ueberzug backend on darwin 2024-02-28 10:15:44 -05:00
9cb7239085
languages/css: add formatter support via prettier/prettierd 2024-02-28 00:35:29 +03:00
Frothy
a738083c2f Merge remote-tracking branch 'upstream/v0.6' into which-key-categories 2024-02-26 13:28:37 -05:00
Frothy
38ca1f98a2 utility/images/image-nvim: add assertion for ueberzug backend on darwin 2024-02-26 13:16:17 -05:00
Frothy
2d16435392 utility/images/image-nvim: fix inherit for mkPluginSetupOption 2024-02-26 06:43:20 -05:00
Frothy
b6166f298d utility/images: remove import for non existing hologram module 2024-02-26 06:42:04 -05:00
30fb2e4f28
images/image-nvim: make lib calls more explicit 2024-02-26 11:54:20 +03:00
d2af30545d
utility/images: remote hologram.nviö
image.nvim has better coverage
2024-02-26 11:54:07 +03:00
Frothy
a6b133124d
utility/images: fix unrelated options being part of 'integrations' 2024-02-26 11:46:34 +03:00
Frothy
d7878b525c
utility/images: add magick to lua packages 2024-02-26 11:46:33 +03:00
7cb428520b
utility/images: add image.nvim 2024-02-26 11:46:13 +03:00
024e1a6845
modules: make lib calls explicit where possible 2024-02-26 11:36:43 +03:00
4bc51c5128
modules/assistant: completely drop tabnine 2024-02-26 07:19:19 +03:00
Frothy
4716fd731f treewide: rename function defaultAttributes to pushDownDefault 2024-02-25 22:52:21 -05:00
Frothy
b9aa7088b8 treewide: register whichKey labels 2024-02-25 11:54:13 -05:00
Frothy
29b9bd4db0 utility/binds/which-key: allow configurable category labels 2024-02-25 11:45:24 -05:00
Frothy
48c8f38a14 languages/lua: always include lua parser with treesitter 2024-02-20 00:37:45 -05:00
57446f7afb
Merge pull request #232 from FrothyMarrow/telescope-grep-opts
utility/telescope: provide configurable vimgrep options
2024-02-19 23:15:28 +00:00
Frothy
4e8ec4cd5b utility/telescope: provide configurable vimgrep options 2024-02-19 17:39:43 -05:00
Frothy
055fcb4f57 visuals/fidget: fix plugin setupOpts name 2024-02-19 16:17:02 -05:00
Ching Pei Yang
0b9e5e8f37
docs: use mkRenamedOptionModule instead of RemovedOption 2024-02-19 11:10:44 +01:00
Frothy
fc511966f0 visuals/fidget: add mkRemovedOptionModule for the old configuration options 2024-02-19 03:20:08 -05:00
Frothy
042af02955 visuals/fidget: migrate to newer configuration with custom setup options 2024-02-19 02:06:12 -05:00
Frothy
35143b7dda wrapper: optionally wrap neovim with extra lua packages 2024-02-17 18:12:54 -05:00
054ade0075
docs: add missing documentation entry; define renamed options 2024-02-15 09:16:22 +03:00
d2334ca095
Merge pull request #217 from Donnerinoern/language/markdown
utility/preview: added markdown-previewer.nvim and moved glow
2024-02-14 17:16:02 +03:00
Donnerinoern
2e07763149 utility/preview: cleanup and optionalString 2024-02-14 12:47:46 +01:00
Elijah M. Immer
14cbc0bcb7 Theme: add rose-pine
Simply added the rose-pine input and added it as a theme.
2024-02-13 13:00:34 -08:00
Donnerinoern
319aaca06d language/markdown: moved glow and markdown-preview to utlity/preview 2024-02-13 13:53:46 +01:00
Donnerinoern
7352558623 language/markdown: added markdown-previewer.nvim 2024-02-12 22:27:35 +01:00
e73469d102
modules/basic: fix search sensitivity options; restructure 2024-02-12 10:20:15 +03:00
98e6782cf4
modules/git: fix typo in gitsigns code-actions 2024-02-12 09:35:59 +03:00
Frothy
6f47dbd11a filetree/nvimtree: fix default systemOpen on darwin 2024-02-11 15:47:00 -05:00
4e83912a54
Merge pull request #205 from NotAShelf/nim-lang
languages/nim: init
2024-02-10 16:11:22 +03:00
6346617a50
languages/nim: assert on darwin systems
due to nimlsp not working properly on darwin
2024-02-10 16:08:42 +03:00
Donnerinoern
d0f8e445ab ui/colorizer: use new maintained fork 2024-02-10 13:21:20 +01:00
6866bb7b38
dashboard/startify: fix invalid reference to "neovimPlugins"
I could just make an overlay out of pettiness
2024-02-09 09:56:05 +03:00
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