Skip to content

Commit

Permalink
chore: ensure the mentioned parsers are installed
Browse files Browse the repository at this point in the history
  • Loading branch information
redyf committed Oct 13, 2024
1 parent 6478f64 commit 25eff61
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 5 deletions.
34 changes: 30 additions & 4 deletions config/languages/treesitter-nvim.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,6 @@
plugins.treesitter = {
enable = true;
settings = {
auto_install = true;
folding = {
enable = true;
};
highlight = {
enable = true;
};
Expand All @@ -20,6 +16,36 @@
autopairs = {
enable = true;
};
folding = {
enable = true;
};
ensure_installed = [
"bash"
"c"
"html"
"css"
"javascript"
"jsdoc"
"json"
"lua"
"luadoc"
"luap"
"nix"
"rust"
"java"
"markdown"
"markdown_inline"
"python"
"query"
"regex"
"tsx"
"typescript"
"vim"
"vimdoc"
"toml"
"yaml"
];
auto_install = true;
incremental_selection = {
enable = true;
keymaps = {
Expand Down
2 changes: 1 addition & 1 deletion config/utils/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
better-escape.enable = lib.mkDefault true;
cloak.enable = lib.mkDefault true;
harpoon.enable = lib.mkDefault true;
markdown-preview.enable = lib.mkDefault true;
markdown-preview.enable = lib.mkDefault false;
mini.enable = lib.mkDefault true;
neocord.enable = lib.mkDefault true;
neotest.enable = lib.mkDefault true;
Expand Down

0 comments on commit 25eff61

Please sign in to comment.