mirror of
https://github.com/NotAShelf/neovim-flake.git
synced 2025-01-09 23:39:48 +01:00
Compare commits
No commits in common. "103941e270f5fcf794513297e4a46ac3dc4d53cf" and "ad9d0c6cdb35bad5cd0cc2a3197262ad51265dd7" have entirely different histories.
103941e270
...
ad9d0c6cdb
2 changed files with 4 additions and 3 deletions
|
@ -7,9 +7,10 @@
|
|||
inherit (lib.modules) mkIf mkMerge;
|
||||
inherit (lib.lists) optional optionals;
|
||||
inherit (lib.trivial) boolToString;
|
||||
inherit (lib.nvim.lists) listContainsValues;
|
||||
inherit (lib.nvim.binds) mkSetBinding addDescriptionsToMappings;
|
||||
inherit (lib.nvim.lua) toLuaObject;
|
||||
inherit (lib.nvim.dag) entryBefore entryAfter;
|
||||
inherit (lib.nvim.dag) entryBefore entryAnywhere;
|
||||
|
||||
cfg = config.vim.treesitter;
|
||||
usingNvimCmp = config.vim.autocomplete.enable && config.vim.autocomplete.type == "nvim-cmp";
|
||||
|
@ -44,7 +45,7 @@ in {
|
|||
set nofoldenable
|
||||
'');
|
||||
|
||||
luaConfigRC.treesitter = entryAfter ["basic"] ''
|
||||
luaConfigRC.treesitter = entryAnywhere ''
|
||||
require('nvim-treesitter.configs').setup {
|
||||
-- Disable imperative treesitter options that would attempt to fetch
|
||||
-- grammars into the read-only Nix store. To add additional grammars here
|
||||
|
|
|
@ -24,7 +24,7 @@ in {
|
|||
trim_scope = '${cfg.trimScope}',
|
||||
mode = '${cfg.mode}',
|
||||
separator = ${nullString cfg.separator},
|
||||
z_index = ${toString cfg.zindex},
|
||||
max_lines = ${toString cfg.zindex},
|
||||
}
|
||||
'';
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue