Commit graph

24 commits

Author SHA1 Message Date
Austin Horstman
91130385ed
plugins/treesitter: support unsetting keymaps 2024-07-25 15:12:52 -05:00
Stanislav Asunkin
ce93f1724f plugins/treesitter: add workaround for performance.combinePlugins 2024-07-24 16:50:50 +02:00
Sandro
433d2f213c
plugins/treesitter: disable folding by default 2024-07-15 11:58:08 +02:00
Matt Sturgeon
195978e627
plugins/treesitter: fix ensure_installed to allow "all"
The plugin allows passing either the string `"all"` or a list of languages.
2024-07-13 10:59:02 +01:00
Austin Horstman
89d74cdce1
plugins/treesitter: fix folding
opts getting wiped out by setting entire set as default instead of each
attribute
2024-07-12 12:13:27 -05:00
Austin Horstman
1385953299
plugins/treesitter: fix parser_install_dir default
The plugin's default is not compatible with nix, because it ends up in
the read-only /nix/store.

Set our default to the one used in their upcoming "1.0" version.
2024-07-12 10:48:21 -05:00
Austin Horstman
1a644b8c2b
plugins/treesitter: fix settingsExample 2024-07-08 14:23:42 -05:00
Austin Horstman
435ef287ab
plugins/treesitter: switch to mkNeovimPlugin 2024-07-08 09:09:48 -05:00
Matt Sturgeon
086873bed9
modules: refactor extraFiles
Moved `extraFiles` from `modules/output.nix` into its own file `modules/files.nix`.

Users should now assign text to a `text` attribute, however they could
also assign a file path to a `source` attribute instead.

The old method of directly assigning a string still works, and is
coerced to the new type along with a deprecation warning.
2024-07-07 16:42:47 +01:00
Gaetan Lepage
7a2d065cce misc: ensure all options have a description 2024-06-11 11:34:10 +02:00
Gaetan Lepage
7c4fe30f81 lib/options: introduce new mkPackageOption for dependencies 2024-05-17 22:15:47 +02:00
traxys
62f32bfc71 treewide: Reformat with nixfmt 2024-05-05 22:00:40 +02:00
Gaetan Lepage
f2f97d844b misc: allow null in extraPackages 2024-04-24 08:10:51 +02:00
Matt Sturgeon
4f83bcf290
Rename options to avoid confusion with module options (#1324) 2024-03-29 21:58:44 +01:00
Loïc Reynier
233feeb8d2
treewide: fix typos (#1217) 2024-03-07 19:44:13 +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
Gaetan Lepage
ebe13a1d24 plugins/treesitter: fix typo 2023-12-22 14:48:15 +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
Gaetan Lepage
fce6a33488 plugins/treesitter: add parsersToFiletypes option 2023-06-05 10:15:40 +02:00
Gaetan Lepage
535fc7d5d3 plugins/treesitter-context: add missing warning when treesitter is not enabled 2023-06-01 15:53:48 +02:00
Pedro Alves
40e0516eca
treesitter: add injection for vimscript (#383) 2023-05-23 16:38:25 +01:00
Tanish2002
efdcbe225f perform some statix linting and fixes 2023-05-22 23:00:53 +02:00
traxys
9c8bee9da6
plugins/treesitter: Add injections to highlight lua in nixvim options (#344) 2023-04-21 20:29:33 +02:00
Gaetan Lepage
ff791d20c8 plugins/treesitter: re-organize treesitter plugins 2023-04-06 23:18:05 +02:00
Renamed from plugins/languages/treesitter.nix (Browse further)