diff --git a/starship/starship.toml b/starship/starship.toml index fb20cb8..e5e1714 100644 --- a/starship/starship.toml +++ b/starship/starship.toml @@ -16,9 +16,6 @@ disabled = true [erlang] disabled = true -[haskell] -disabled = true - [java] disabled = true diff --git a/vim/coc-settings.json b/vim/coc-settings.json index 2855337..20c0f05 100644 --- a/vim/coc-settings.json +++ b/vim/coc-settings.json @@ -7,6 +7,7 @@ "languageserver": { "terraform": { "command": "terraform-ls", + "args": ["serve"], "filetypes": ["terraform", "tf"], "initializationOptions": {}, "settings": {} @@ -33,8 +34,8 @@ "yaml.schemaStore.enable": true, "yaml.schemas": { "kubernetes": [ - "/kubernetes/**/*.yaml", - "/k8s/**/*.yaml" + "/**/kubernetes/**/*.yaml", + "/**/k8s/**/*.yaml" ], "https://json.schemastore.org/github-workflow.json": "/.github/workflows/*.yaml" } diff --git a/vim/vimrc b/vim/vimrc index 030524d..bc68766 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -30,6 +30,7 @@ Plug 'ctrlpvim/ctrlp.vim' " Ignore/Edit files Plug 'vim-scripts/gitignore' " Languages +Plug 'pantharshit00/vim-prisma' Plug 'fatih/vim-go' Plug 'pangloss/vim-javascript' Plug 'leafgarland/typescript-vim' @@ -37,6 +38,14 @@ Plug 'peitalin/vim-jsx-typescript' Plug 'styled-components/vim-styled-components', { 'branch': 'main' } Plug 'jparise/vim-graphql' Plug 'kevinoid/vim-jsonc' +" protobuf with buf +Plug 'dense-analysis/ale' +Plug 'bufbuild/vim-buf' +let g:ale_linters = { + \ 'proto': ['buf-lint',], + \} +let g:ale_lint_on_text_changed = 'never' +let g:ale_linters_explicit = 1 " Code helpers Plug 'jiangmiao/auto-pairs' Plug 'neoclide/coc.nvim', {'branch': 'release'} @@ -83,6 +92,11 @@ endfunction nmap ac (coc-codeaction) " Apply AutoFix to problem on the current line. nmap qf (coc-fix-current) +" GoTo code navigation. +nmap gd (coc-definition) +nmap gy (coc-type-definition) +nmap gi (coc-implementation) +nmap gr (coc-references) """"" "--- TMUX/Clipboard fixes @@ -107,7 +121,7 @@ endif if exists('##TextYankPost') augroup BlinkClipboardIntegration autocmd! - autocmd TextYankPost * silent! if v:event.operator ==# 'y' | call YankOSC52(join(v:event["regcontents"],"\n")) | endif + autocmd TextYankPost * if v:event.operator is 'y' && v:event.regname is '' | execute 'OSCYankReg "' | endif augroup END endif @@ -151,7 +165,7 @@ let g:ctrlp_max_files=0 let g:ctrlp_max_depth=40 let g:ctrlp_show_hidden=1 let g:ctrlp_custom_ignore = { - \ 'dir': '\.git$\|\.yardoc\|node_modules\|log\|tmp$\|dist$', + \ 'dir': '\.git$\|\.yardoc\|node_modules\|tmp$\|dist$', \ 'file': '\.so$\|\.dat$|\.DS_Store$' \ }