neovim, add rust language support
This commit is contained in:
parent
b16fb47719
commit
1b6627bcbe
4 changed files with 16 additions and 5 deletions
|
|
@ -39,6 +39,8 @@
|
|||
require('lspconfig').nil_ls.setup {}
|
||||
'' + lib.strings.optionalString cfgl.c.enable ''
|
||||
require('lspconfig').clangd.setup {}
|
||||
'' + lib.strings.optionalString cfgl.rust.enable ''
|
||||
require('lspconfig').rustaceanvim.setup {}
|
||||
'';
|
||||
in with pkgs.vimPlugins; [
|
||||
{
|
||||
|
|
|
|||
|
|
@ -21,8 +21,9 @@ in {
|
|||
# I've tried many things, and can't get treesitter plugins changing
|
||||
# dynamically. For not just have them always loaded regardless of config
|
||||
treeplugs = p: [
|
||||
p.tree-sitter-nix
|
||||
p.tree-sitter-c
|
||||
p.tree-sitter-nix
|
||||
p.tree-sitter-rust
|
||||
];
|
||||
in with pkgs.vimPlugins; [
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue