Add tree-sitter cli, ensure all languages installed automatically
This commit is contained in:
parent
0bdae5f583
commit
5d78d93081
|
@ -54,7 +54,6 @@ vim.opt.splitbelow = true
|
||||||
vim.opt.splitright = true
|
vim.opt.splitright = true
|
||||||
|
|
||||||
-- Global
|
-- Global
|
||||||
vim.g.loaded_ruby_provider = 0
|
|
||||||
vim.g.loaded_perl_provider = 0
|
vim.g.loaded_perl_provider = 0
|
||||||
|
|
||||||
-- Common keymaps
|
-- Common keymaps
|
||||||
|
|
|
@ -23,8 +23,8 @@ return {
|
||||||
require("nvim-treesitter.configs").setup(opts)
|
require("nvim-treesitter.configs").setup(opts)
|
||||||
end,
|
end,
|
||||||
opts = {
|
opts = {
|
||||||
ensure_installed = { "vim", "regex", "lua", "bash", "markdown", "markdown_inline" },
|
ensure_installed = "all",
|
||||||
auto_install = false,
|
auto_install = true,
|
||||||
highlight = {
|
highlight = {
|
||||||
enable = true,
|
enable = true,
|
||||||
additional_vim_regex_highlighting = false,
|
additional_vim_regex_highlighting = false,
|
||||||
|
|
|
@ -39,5 +39,6 @@
|
||||||
nodePackages.prettier
|
nodePackages.prettier
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
home.packages = with pkgs; [ tree-sitter ];
|
||||||
xdg.configFile."nvim".source = ./config/nvim;
|
xdg.configFile."nvim".source = ./config/nvim;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue