From df704bf10eac7344ce3320c9c8995af3e5b47637 Mon Sep 17 00:00:00 2001 From: Aotrix <9aotrix@protonmail.com> Date: Sun, 23 Nov 2025 01:55:19 +0100 Subject: added sshfs and treesitter plugins --- lua/aotrix/plugins/remote_sshfs.lua | 8 ++++++++ lua/aotrix/plugins/treesitter.lua | 28 ++++++++++++++++++++++++++++ 2 files changed, 36 insertions(+) create mode 100644 lua/aotrix/plugins/remote_sshfs.lua create mode 100644 lua/aotrix/plugins/treesitter.lua (limited to 'lua/aotrix/plugins') 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 + +} -- cgit v1.2.3