Add tree-sitter cli, ensure all languages installed automatically

This commit is contained in:
Evie Litherland-Smith 2023-05-12 11:51:04 +01:00
parent 0bdae5f583
commit 5d78d93081
3 changed files with 3 additions and 3 deletions

View file

@ -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

View file

@ -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,

View file

@ -39,5 +39,6 @@
nodePackages.prettier
];
};
home.packages = with pkgs; [ tree-sitter ];
xdg.configFile."nvim".source = ./config/nvim;
}