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-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,
}, },
} }
''); '';
} }
]; ];
}; };