Commit graph

118 commits

Author SHA1 Message Date
Gaetan Lepage
9d3ff56ed8 plugins/helm: init 2024-02-03 12:29:14 +01:00
Gustavo Araiza
3958364809 plugins/haskell-scope-highlighting: init + test
Add warning for Treesitter dependency

Co-authored-by: Gaétan Lepage <33058747+GaetanLepage@users.noreply.github.com>

add test for highlights, add package

tweak warning message

enable treesitter in tests

suggested change
2024-01-29 08:47:37 +01:00
Gaetan Lepage
e2c3459d1d lib/helpers: extraOptionsOptions -> neovim-plugin.extraOptionsOptions 2024-01-28 23:39:14 +01:00
Gaetan Lepage
d137555971 plugins/hmts: add warning when treesitter is not enabled 2024-01-26 16:00:53 +01:00
Gaetan Lepage
889144c0b1 plugins/hmts: move source file and test from 'utils' to 'languages/treesitter' 2024-01-26 16:00:53 +01:00
Gabriel Arazas
6b0f03e4a1 plugins: clean up module descriptions
Only for the `enable` option though.
2024-01-26 15:43:47 +01:00
garaiza-93
56b1082525
plugins/typescript-tools: init (#966) 2024-01-26 14:41:10 +01:00
traxys
368f4d6a58
plugins/rustaceanvim: Allow to add on_attach to rustaceanvim (#979)
* plugins/rustaceanvim: Add 'onAttach'

* plugins/rustaceanvim: Put the configuration after the lsp setups to use __lspOnAttach
2024-01-26 14:38:07 +01:00
Gaetan Lepage
a68ee73947 helpers/vim-plugin: mkPlugin -> mkVimPlugin 2024-01-25 15:19:26 +01:00
Gaetan Lepage
8f90372ee5 helpers: move mkPlugin and mkDefaultOpt to helpers.vim-plugin 2024-01-25 15:19:26 +01:00
Gaetan Lepage
a6b541a3aa plugins/rustaceanvim: init 2024-01-24 07:59:22 +01:00
Gaetan Lepage
b3c3d0beb1 plugins/rust-tools: rename source file to rust-tools.nix 2024-01-24 07:59:22 +01:00
Gaetan Lepage
1a7a726a98 plugins/vimtex: formatting 2024-01-14 22:35:27 +01:00
Gaetan Lepage
20c1ae069e plugins/markdown-preview: switch to mkPlugin 2024-01-14 22:35:27 +01:00
Gaetan Lepage
a82b8188fd plugins/vim-slime: switch to using mkPlugin 2024-01-14 22:35:27 +01:00
Gaetan Lepage
c498d0b9c9 plugins/tagbar: switch to using mkPlugin 2024-01-14 22:35:27 +01:00
Gaetan Lepage
97fb6d6a29 helpers/mkPlugin: add extraConfig option 2024-01-14 22:35:27 +01:00
Gaetan Lepage
2785267b1b plugins/treesitter: add an option to control if gcc should be installed 2024-01-04 09:01:54 +01:00
traxys
8aa4b7e4ce
helpers: Add option helpers for types that are either a lua str or a value (#876)
Those types needed the following code in apply:

if builtins.isString value
then mkRaw value
else value

This commit avoids this boilerplate, and clarifies that the `str` is lua
code in the documentation.
2024-01-02 00:30:10 +01:00
traxys
af41ea2d80
helpers: move rawType to helpers.nixvimTypes (#871)
This is done in preparation of adding new (lua) types to help the
documentation.
2024-01-01 23:33:53 +01:00
traxys
abd1c4007a
helpers: Add mkLua,mkLuaFn (defaultNullOpts or not) (#866)
This makes it such that defaultNullOpts.mkStr never represents a lua
string, easing documenting where a string is a lua string vs lua code.
2024-01-01 20:28:55 +01:00
traxys
1d8e7906c9
plugins: Introduce helpers.defaultNullOpts.mkLuaFn (#855)
This allows to avoid calling `mkRaw` on lua functions, as they will get
applied automatically.

This could also help in the future to refactor the use of Lua code to
make it more user-friendly.
2023-12-29 15:24:42 +01:00
Ryan
b140981d65
plugins/rust-tools: Allow null serverPackage (#845)
Some users might want to use rust-analyzer beta/nightly from their own nix develop shell.
2023-12-27 21:33:01 +01:00
Gaetan Lepage
ebe13a1d24 plugins/treesitter: fix typo 2023-12-22 14:48:15 +01:00
Gaetan Lepage
ff7fe40bf6 plugins/rainbow-delimiters: remove warnings 2023-12-22 14:48:15 +01:00
Gaetan Lepage
dbcd314708 plugins: use LogLevel where possible 2023-12-22 14:48:15 +01:00
NAHO
fc94d7468d
plugins/debugprint: add missing createCommands option (#831) 2023-12-21 19:19:32 +01:00
Gaetan Lepage
6d72e00455 plugins/debugprint: init 2023-12-21 10:15:22 +01:00
Gaetan Lepage
dceeab73b1 plugins/lint: uncomment autoCmd config line 2023-12-20 20:22:28 +01:00
Gaetan Lepage
d8cffe2ead plugins: remove mkCompositeOptions from implementation 2023-12-13 10:39:28 +01:00
Gaetan Lepage
be14bc1b91 plugins/ts-context-commentstring: use new setup-based init 2023-11-27 15:13:29 +01:00
traxys
a108c2e676
plugin/rust-tools: Correctly take into account on_attach (#737)
Nixvim uses a common function for the on attach function of lsp,
__lspOnAttach. With the current implementation the function was not
taken into account if no server options were present, this fixes this
issue.
2023-11-23 22:11:17 +01:00
Gaetan Lepage
578b1acc71 plugins/treesitter-context: remove old deprecation warnings 2023-11-23 16:37:47 +01:00
Gaetan Lepage
563a42c71c plugins/treesitter-textobjects: init 2023-11-23 16:37:47 +01:00
Gaetan Lepage
19f39c3b1b plugins: swith to the new behaviour of mkRaw 2023-11-23 11:39:41 +01:00
Gaetan Lepage
c2ccb2dfab plugins/typst: add options 2023-11-19 12:18:09 +01:00
Gaetan Lepage
2fcbe50f4b plugins/lint: init + test 2023-11-14 23:23:30 +01:00
Gaetan Lepage
19654ffed2 plugins/lean: init + test 2023-11-14 11:14:45 +01:00
Gaetan Lepage
b6724702b4 misc: refactor imports, prefer adding helpers to args rather than importing it 2023-11-06 16:33:39 +01:00
Maximilian Ehlers
c5150bfcdc
Adds view method option to vimtex and allows the installation of texlive with the plugin (#637) 2023-10-11 12:38:06 +02:00
municorn
3fd743fe80 docs: fix grammar, spelling, and text for enable options 2023-10-09 15:04:57 +02:00
Gaetan Lepage
418bf5da17 modules/keymaps: factor out helper functions for use in plugins 2023-10-03 14:18:33 +02:00
Gaetan Lepage
dd6a114e52 plugins/misc: adapt to new maps options 2023-10-02 15:23:54 +02:00
Gaetan Lepage
6152cc9504 misc: fix statix errors 2023-09-18 23:41:56 +02:00
Gaetan Lepage
8040f8422a plugins/treesitter-playground: mark as deprecated 2023-08-29 10:01:13 +02:00
traxys
33cffcb0fd
plugins/lsp: Extract rust-analyzer options from the source directly (#562)
This directly reads the package.json file in pkgs.rust-analyzer.src in
order to generate the list of options for rust-analyzer.

This avoids the need for a generator script, and makes sure that it is
always in sync.
2023-08-28 17:28:12 +02:00
Gaetan Lepage
ebfaa31df3 plugins/rainbow-delimiters: init + test (replaces treesitter-rainbow) 2023-08-28 09:50:49 +02:00
Gaetan Lepage
b8c3385599 plugins/treesitter-context: reflect upstream options changes 2023-08-25 15:34:55 +02:00
Gaetan Lepage
00016841c9 plugins/clangd-extensions: fix options following upstream changes + test 2023-08-22 23:25:58 +02:00
Wolbyte
ecd593386f
docs: New documentation using mdbook (#471)
* docs: mdbook init

* Separate sub-options into their section

* docs: enable fold

* docs: merge core options into a single section

* doc generation: fix submodules index pages

* docs: add contributing section

* docs: rename 'core' group to 'Neovim Options'

docs: removed the index pages of empty sections

docs: remove obsolete 'mergeFunctionResults' function

* docs: use nix syntax highlighting

* docs: point to the new repo url

* docs: use recursive generation
docs: split submodules into subsections

* docs: fix contributing separator
docs: fix missing submodules docs
2023-08-07 11:48:01 +02:00