From 1dcd891d0852d0e2218f875020fe881ce36d0efd Mon Sep 17 00:00:00 2001 From: ralvescosta Date: Fri, 21 Mar 2025 05:26:02 -0300 Subject: [PATCH] feat: terroform higligth --- lua/kickstart/plugins/nvim-cmp.lua | 9 ++++++++- lua/kickstart/plugins/treesitter.lua | 2 +- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/lua/kickstart/plugins/nvim-cmp.lua b/lua/kickstart/plugins/nvim-cmp.lua index 09061578..e0400b6f 100644 --- a/lua/kickstart/plugins/nvim-cmp.lua +++ b/lua/kickstart/plugins/nvim-cmp.lua @@ -49,7 +49,14 @@ return { end, }, completion = { completeopt = 'menu,menuone,noinsert' }, - + window = { + completion = { + border = 'single', + }, + documentation = { + border = 'single', + }, + }, -- For an understanding of why these mappings were -- chosen, you will need to read `:help ins-completion` -- diff --git a/lua/kickstart/plugins/treesitter.lua b/lua/kickstart/plugins/treesitter.lua index 0f2d5760..eacf5891 100644 --- a/lua/kickstart/plugins/treesitter.lua +++ b/lua/kickstart/plugins/treesitter.lua @@ -39,7 +39,7 @@ return { -- Some languages depend on vim's regex highlighting system (such as Ruby) for indent rules. -- If you are experiencing weird indenting issues, add the language to -- the list of additional_vim_regex_highlighting and disabled languages for indent. - additional_vim_regex_highlighting = { 'ruby', 'go' }, + additional_vim_regex_highlighting = { 'ruby', 'go', 'terraform' }, }, indent = { enable = true, disable = { 'ruby', 'go' } }, },