diff options
| author | Aotrix <[email protected]> | 2025-11-23 01:55:19 +0100 |
|---|---|---|
| committer | Aotrix <[email protected]> | 2025-11-23 01:55:19 +0100 |
| commit | df704bf10eac7344ce3320c9c8995af3e5b47637 (patch) | |
| tree | 041f7dc36be8c8d8fbb036800cfd2036c10a70e3 /lua | |
| parent | 9a4616009bd1f9cf300b824bdd220dc530ededeb (diff) | |
added sshfs and treesitter plugins
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/aotrix/plugins/remote_sshfs.lua | 8 | ||||
| -rw-r--r-- | lua/aotrix/plugins/treesitter.lua | 28 |
2 files changed, 36 insertions, 0 deletions
diff --git a/lua/aotrix/plugins/remote_sshfs.lua b/lua/aotrix/plugins/remote_sshfs.lua new file mode 100644 index 0000000..6aece57 --- /dev/null +++ b/lua/aotrix/plugins/remote_sshfs.lua @@ -0,0 +1,8 @@ +return { + "nosduco/remote-sshfs.nvim", + dependencies = { "nvim-telescope/telescope.nvim", "nvim-lua/plenary.nvim" }, + opts = { + -- Refer to the configuration section below + -- or leave empty for defaults + }, +} diff --git a/lua/aotrix/plugins/treesitter.lua b/lua/aotrix/plugins/treesitter.lua new file mode 100644 index 0000000..aa3bbdd --- /dev/null +++ b/lua/aotrix/plugins/treesitter.lua @@ -0,0 +1,28 @@ +return +{ + "nvim-treesitter/nvim-treesitter", + branch = 'master', + lazy = false, + build = ":TSUpdate", + config = function() + require 'nvim-treesitter.configs'.setup { + -- A list of parser names, or "all" (the listed parsers MUST always be installed) + ensure_installed = { "c", "cpp", "lua", "vim", "vimdoc", "query", "markdown", "markdown_inline" }, + + -- Install parsers synchronously (only applied to `ensure_installed`) + sync_install = false, + + -- Automatically install missing parsers when entering buffer + -- Recommendation: set to false if you don't have `tree-sitter` CLI installed locally + auto_install = true, + + ---- If you need to change the installation directory of the parsers (see -> Advanced Setup) + -- parser_install_dir = "/some/path/to/store/parsers", -- Remember to run vim.opt.runtimepath:append("/some/path/to/store/parsers")! + + highlight = { + enable = true, + }, + } + end + +} |
