Added base setup

This commit is contained in:
2022-10-09 19:20:47 +02:00
commit 1afab44385
7 changed files with 464 additions and 0 deletions

8
lua/plugins/neo-tree.lua Normal file
View File

@@ -0,0 +1,8 @@
return {
cmd = "Neotree",
config = function()
vim.cmd([[ let g:neo_tree_remove_legacy_commands = 1 ]])
require("neo-tree").setup({filesystem = {follow_current_file = true}})
end,
}

View File

@@ -0,0 +1,23 @@
local M = {
run = ":TSUpdate",
event = "User PackerDefered",
requires = {
"nvim-treesitter/nvim-treesitter-textobjects",
"RRethy/nvim-treesitter-textsubjects",
"nvim-treesitter/nvim-treesitter-refactor",
},
}
function M.config()
require("nvim-treesitter.configs").setup({
ensure_installed = {
"css",
"go",
"lua",
},
sync_install = false,
auto_install = true,
})
end
return M