summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lua/aotrix/plugins/remote_sshfs.lua8
-rw-r--r--lua/aotrix/plugins/treesitter.lua28
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
+
+}