From 1ea657763529f5d99c384105ec542067d6bd2266 Mon Sep 17 00:00:00 2001 From: Zev Averbach Date: Thu, 3 Nov 2022 10:42:16 +0100 Subject: [PATCH] ignore yaml in treesitter, not sure this worked. added nvim-surround to plugins --- lua/opts.lua | 7 +++++++ lua/plug.lua | 1 + 2 files changed, 8 insertions(+) diff --git a/lua/opts.lua b/lua/opts.lua index e3d91c9..5f7e2a4 100644 --- a/lua/opts.lua +++ b/lua/opts.lua @@ -42,3 +42,10 @@ let g:vimspector_sidebar_width = 85 let g:vimspector_bottombar_height = 15 let g:vimspector_terminal_maxwidth = 70 ]]) + +require('nvim-treesitter.configs').setup { + indent = { + enable = true, + disable = { 'yaml' } + } +} diff --git a/lua/plug.lua b/lua/plug.lua index 889461c..2e2c78d 100644 --- a/lua/plug.lua +++ b/lua/plug.lua @@ -55,4 +55,5 @@ return require('packer').startup(function(use) "windwp/nvim-autopairs", config = function() require("nvim-autopairs").setup {} end } + use 'kylechui/nvim-surround' end)