From c26cdc41abec8b786f5b8f426b83cc604a8bd3b3 Mon Sep 17 00:00:00 2001 From: Tine Jozelj Date: Tue, 28 Feb 2023 09:44:18 +0100 Subject: [PATCH] feat: terraform highlight and peepsight --- nvim/coc-settings.json | 6 ++++++ nvim/init.vim | 13 +++++++++++++ 2 files changed, 19 insertions(+) diff --git a/nvim/coc-settings.json b/nvim/coc-settings.json index a06293b..6071891 100644 --- a/nvim/coc-settings.json +++ b/nvim/coc-settings.json @@ -12,6 +12,12 @@ "filetypes": ["terraform", "tf"], "initializationOptions": {}, "settings": {} + }, + "graphql": { + "command": "graphql-lsp", + "args": ["server", "-m", "stream"], + // customize filetypes to your needs + "filetypes": ["typescript", "typescriptreact", "graphql"] } }, "prettier.disableSuccessMessage": true, diff --git a/nvim/init.vim b/nvim/init.vim index babaa1a..5643d2a 100644 --- a/nvim/init.vim +++ b/nvim/init.vim @@ -16,6 +16,7 @@ Plug 'tmux-plugins/vim-tmux-focus-events' Plug 'vim-airline/vim-airline' Plug 'sainnhe/edge' Plug 'Yggdroot/indentLine' +Plug 'koenverburg/peepsight.nvim' " Git Plug 'airblade/vim-gitgutter' " Search/Files @@ -129,6 +130,7 @@ require'nvim-treesitter.configs'.setup { "go", "graphql", "hcl", + "terraform", "javascript", "json", "make", @@ -167,6 +169,17 @@ augroup JsonToJsonc autocmd! FileType json set filetype=jsonc augroup END +lua <