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
|
||||
|
||||
-- Global
|
||||
vim.g.loaded_ruby_provider = 0
|
||||
vim.g.loaded_perl_provider = 0
|
||||
|
||||
-- Common keymaps
|
||||
|
|
|
@ -23,8 +23,8 @@ return {
|
|||
require("nvim-treesitter.configs").setup(opts)
|
||||
end,
|
||||
opts = {
|
||||
ensure_installed = { "vim", "regex", "lua", "bash", "markdown", "markdown_inline" },
|
||||
auto_install = false,
|
||||
ensure_installed = "all",
|
||||
auto_install = true,
|
||||
highlight = {
|
||||
enable = true,
|
||||
additional_vim_regex_highlighting = false,
|
||||
|
|
|
@ -39,5 +39,6 @@
|
|||
nodePackages.prettier
|
||||
];
|
||||
};
|
||||
home.packages = with pkgs; [ tree-sitter ];
|
||||
xdg.configFile."nvim".source = ./config/nvim;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue