From a302871104a09c09e4a1df1de4452b159a439896 Mon Sep 17 00:00:00 2001 From: Titus Moore Date: Tue, 4 Apr 2023 16:11:06 -0400 Subject: [PATCH] Add auto close plugin as well as php parser --- init.lua | 2 +- lua/custom/plugins/init.lua | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/init.lua b/init.lua index c77b0dc8..3c4751ed 100644 --- a/init.lua +++ b/init.lua @@ -262,7 +262,7 @@ vim.keymap.set('i', '', 'copilot#Accept("")', { expr = true, silent = t -- 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', 'vim' }, + ensure_installed = { 'c', 'cpp', 'go', 'lua', 'python', 'rust', 'tsx', 'typescript', 'vim', 'php' }, -- ensure_installed = { 'c', 'cpp', 'go', 'lua', 'python', 'rust', 'tsx', 'typescript', 'help', 'vim' }, -- Autoinstall languages that are not installed. Defaults to false (but you can change for yourself!) auto_install = false, diff --git a/lua/custom/plugins/init.lua b/lua/custom/plugins/init.lua index 2ad10d8d..e4bf4393 100644 --- a/lua/custom/plugins/init.lua +++ b/lua/custom/plugins/init.lua @@ -5,5 +5,11 @@ return { { "github/copilot.vim" + }, + { + "windwp/nvim-autopairs", + config = function() + require("nvim-autopairs").setup {} + end, } }