Files
nvim/config/modules/plugins/treesitter.nix
Mykhailo Nikiforov b614474c26
All checks were successful
check-commits / Check commits (pull_request) Successful in 8s
build-flake / build (pull_request) Successful in 4m2s
feat: add venv-selector, update blink config
2025-11-12 18:03:44 +02:00

38 lines
666 B
Nix

{ pkgs, ... }:
{
plugins = {
treesitter = {
enable = true;
settings = {
indent = {
enable = true;
};
highlight = {
enable = true;
};
};
nixvimInjections = true;
grammarPackages = pkgs.vimPlugins.nvim-treesitter.allGrammars;
};
treesitter-context = {
enable = false;
};
treesitter-textobjects = {
enable = true;
settings = {
select = {
enable = true;
lookahead = true;
};
};
};
};
extraConfigLua = ''
local parser_config = require("nvim-treesitter.parsers").get_parser_configs()
'';
}