Use replace instead of split, join
This commit is contained in:
parent
820e4e0e37
commit
deaad6b22a
1 changed files with 2 additions and 2 deletions
|
@ -95,14 +95,14 @@
|
||||||
tree-sitter-rust
|
tree-sitter-rust
|
||||||
tree-sitter-toml
|
tree-sitter-toml
|
||||||
]);
|
]);
|
||||||
config = lib.concatStrings (lib.splitString "\n" ''
|
config = builtins.replaceStrings ["\n"] [""] ''
|
||||||
lua require 'nvim-treesitter.configs'.setup {
|
lua require 'nvim-treesitter.configs'.setup {
|
||||||
highlight = {
|
highlight = {
|
||||||
enable = true,
|
enable = true,
|
||||||
additional_vim_regex_highlighting = false,
|
additional_vim_regex_highlighting = false,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
'');
|
'';
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue