diff --git a/config/languages/treesitter-nvim.nix b/config/languages/treesitter-nvim.nix index cf6e471..77412b1 100644 --- a/config/languages/treesitter-nvim.nix +++ b/config/languages/treesitter-nvim.nix @@ -7,10 +7,6 @@ plugins.treesitter = { enable = true; settings = { - auto_install = true; - folding = { - enable = true; - }; highlight = { enable = true; }; @@ -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 = { diff --git a/config/utils/default.nix b/config/utils/default.nix index ad8ed51..2ff5f0a 100644 --- a/config/utils/default.nix +++ b/config/utils/default.nix @@ -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;