Use replace instead of split, join

This commit is contained in:
buffet 2022-08-16 20:10:01 +00:00
parent 820e4e0e37
commit deaad6b22a

View file

@ -95,14 +95,14 @@
tree-sitter-rust
tree-sitter-toml
]);
config = lib.concatStrings (lib.splitString "\n" ''
config = builtins.replaceStrings ["\n"] [""] ''
lua require 'nvim-treesitter.configs'.setup {
highlight = {
enable = true,
additional_vim_regex_highlighting = false,
},
}
'');
'';
}
];
};