add - autopairs
add- filetree remove c cpp support
This commit is contained in:
parent
72364ad9ac
commit
1a50da15c9
2
init.lua
2
init.lua
@ -288,7 +288,7 @@ vim.keymap.set('n', '<leader>sd', require('telescope.builtin').diagnostics, { de
|
||||
-- See `:help nvim-treesitter`
|
||||
require('nvim-treesitter.configs').setup {
|
||||
-- Add languages to be installed here that you want installed for treesitter
|
||||
ensure_installed = { 'c', 'cpp', 'go', 'lua', 'python', 'rust', 'tsx', 'typescript', 'help', 'vim' },
|
||||
ensure_installed = { 'go', 'lua', 'python', 'rust', 'tsx', 'typescript', 'help', 'vim', 'php' },
|
||||
|
||||
-- Autoinstall languages that are not installed. Defaults to false (but you can change for yourself!)
|
||||
auto_install = false,
|
||||
|
8
lua/custom/plugins/autopairs.lua
Normal file
8
lua/custom/plugins/autopairs.lua
Normal file
@ -0,0 +1,8 @@
|
||||
-- File: lua/custom/plugins/autopairs.lua
|
||||
|
||||
return {
|
||||
"windwp/nvim-autopairs",
|
||||
config = function()
|
||||
require("nvim-autopairs").setup {}
|
||||
end,
|
||||
}
|
15
lua/custom/plugins/filetree.lua
Normal file
15
lua/custom/plugins/filetree.lua
Normal file
@ -0,0 +1,15 @@
|
||||
return {
|
||||
"nvim-neo-tree/neo-tree.nvim",
|
||||
version = "*",
|
||||
dependencies = {
|
||||
"nvim-lua/plenary.nvim",
|
||||
"nvim-tree/nvim-web-devicons", -- not strictly required, but recommended
|
||||
"MunifTanjim/nui.nvim",
|
||||
},
|
||||
config = function ()
|
||||
-- Unless you are still migrating, remove the deprecated commands from v1.x
|
||||
vim.cmd([[ let g:neo_tree_remove_legacy_commands = 1 ]])
|
||||
|
||||
require('neo-tree').setup {}
|
||||
end,
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user