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 <