mirror of
https://github.com/mentos1386/dotfiles.git
synced 2024-11-25 16:55:43 +00:00
feat: terraform highlight and peepsight
This commit is contained in:
parent
5f948f88bd
commit
c26cdc41ab
2 changed files with 19 additions and 0 deletions
|
@ -12,6 +12,12 @@
|
||||||
"filetypes": ["terraform", "tf"],
|
"filetypes": ["terraform", "tf"],
|
||||||
"initializationOptions": {},
|
"initializationOptions": {},
|
||||||
"settings": {}
|
"settings": {}
|
||||||
|
},
|
||||||
|
"graphql": {
|
||||||
|
"command": "graphql-lsp",
|
||||||
|
"args": ["server", "-m", "stream"],
|
||||||
|
// customize filetypes to your needs
|
||||||
|
"filetypes": ["typescript", "typescriptreact", "graphql"]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"prettier.disableSuccessMessage": true,
|
"prettier.disableSuccessMessage": true,
|
||||||
|
|
|
@ -16,6 +16,7 @@ Plug 'tmux-plugins/vim-tmux-focus-events'
|
||||||
Plug 'vim-airline/vim-airline'
|
Plug 'vim-airline/vim-airline'
|
||||||
Plug 'sainnhe/edge'
|
Plug 'sainnhe/edge'
|
||||||
Plug 'Yggdroot/indentLine'
|
Plug 'Yggdroot/indentLine'
|
||||||
|
Plug 'koenverburg/peepsight.nvim'
|
||||||
" Git
|
" Git
|
||||||
Plug 'airblade/vim-gitgutter'
|
Plug 'airblade/vim-gitgutter'
|
||||||
" Search/Files
|
" Search/Files
|
||||||
|
@ -129,6 +130,7 @@ require'nvim-treesitter.configs'.setup {
|
||||||
"go",
|
"go",
|
||||||
"graphql",
|
"graphql",
|
||||||
"hcl",
|
"hcl",
|
||||||
|
"terraform",
|
||||||
"javascript",
|
"javascript",
|
||||||
"json",
|
"json",
|
||||||
"make",
|
"make",
|
||||||
|
@ -167,6 +169,17 @@ augroup JsonToJsonc
|
||||||
autocmd! FileType json set filetype=jsonc
|
autocmd! FileType json set filetype=jsonc
|
||||||
augroup END
|
augroup END
|
||||||
|
|
||||||
|
lua <<EOF
|
||||||
|
require'peepsight'.setup({
|
||||||
|
-- typescript
|
||||||
|
"arrow_function",
|
||||||
|
"function_declaration",
|
||||||
|
"generator_function_declaration",
|
||||||
|
"method_definition",
|
||||||
|
})
|
||||||
|
require'peepsight'.enable()
|
||||||
|
EOF
|
||||||
|
|
||||||
"""""
|
"""""
|
||||||
"--- Telescope Configuration
|
"--- Telescope Configuration
|
||||||
lua <<EOF
|
lua <<EOF
|
||||||
|
|
Loading…
Reference in a new issue