mirror of
https://github.com/mentos1386/dotfiles.git
synced 2024-11-21 23:23:34 +00:00
feat: fixes/updates
This commit is contained in:
parent
957e7659a3
commit
6058d9176e
3 changed files with 19 additions and 7 deletions
|
@ -16,9 +16,6 @@ disabled = true
|
||||||
[erlang]
|
[erlang]
|
||||||
disabled = true
|
disabled = true
|
||||||
|
|
||||||
[haskell]
|
|
||||||
disabled = true
|
|
||||||
|
|
||||||
[java]
|
[java]
|
||||||
disabled = true
|
disabled = true
|
||||||
|
|
||||||
|
|
|
@ -7,6 +7,7 @@
|
||||||
"languageserver": {
|
"languageserver": {
|
||||||
"terraform": {
|
"terraform": {
|
||||||
"command": "terraform-ls",
|
"command": "terraform-ls",
|
||||||
|
"args": ["serve"],
|
||||||
"filetypes": ["terraform", "tf"],
|
"filetypes": ["terraform", "tf"],
|
||||||
"initializationOptions": {},
|
"initializationOptions": {},
|
||||||
"settings": {}
|
"settings": {}
|
||||||
|
@ -33,8 +34,8 @@
|
||||||
"yaml.schemaStore.enable": true,
|
"yaml.schemaStore.enable": true,
|
||||||
"yaml.schemas": {
|
"yaml.schemas": {
|
||||||
"kubernetes": [
|
"kubernetes": [
|
||||||
"/kubernetes/**/*.yaml",
|
"/**/kubernetes/**/*.yaml",
|
||||||
"/k8s/**/*.yaml"
|
"/**/k8s/**/*.yaml"
|
||||||
],
|
],
|
||||||
"https://json.schemastore.org/github-workflow.json": "/.github/workflows/*.yaml"
|
"https://json.schemastore.org/github-workflow.json": "/.github/workflows/*.yaml"
|
||||||
}
|
}
|
||||||
|
|
18
vim/vimrc
18
vim/vimrc
|
@ -30,6 +30,7 @@ Plug 'ctrlpvim/ctrlp.vim'
|
||||||
" Ignore/Edit files
|
" Ignore/Edit files
|
||||||
Plug 'vim-scripts/gitignore'
|
Plug 'vim-scripts/gitignore'
|
||||||
" Languages
|
" Languages
|
||||||
|
Plug 'pantharshit00/vim-prisma'
|
||||||
Plug 'fatih/vim-go'
|
Plug 'fatih/vim-go'
|
||||||
Plug 'pangloss/vim-javascript'
|
Plug 'pangloss/vim-javascript'
|
||||||
Plug 'leafgarland/typescript-vim'
|
Plug 'leafgarland/typescript-vim'
|
||||||
|
@ -37,6 +38,14 @@ Plug 'peitalin/vim-jsx-typescript'
|
||||||
Plug 'styled-components/vim-styled-components', { 'branch': 'main' }
|
Plug 'styled-components/vim-styled-components', { 'branch': 'main' }
|
||||||
Plug 'jparise/vim-graphql'
|
Plug 'jparise/vim-graphql'
|
||||||
Plug 'kevinoid/vim-jsonc'
|
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
|
" Code helpers
|
||||||
Plug 'jiangmiao/auto-pairs'
|
Plug 'jiangmiao/auto-pairs'
|
||||||
Plug 'neoclide/coc.nvim', {'branch': 'release'}
|
Plug 'neoclide/coc.nvim', {'branch': 'release'}
|
||||||
|
@ -83,6 +92,11 @@ endfunction
|
||||||
nmap <leader>ac <Plug>(coc-codeaction)
|
nmap <leader>ac <Plug>(coc-codeaction)
|
||||||
" Apply AutoFix to problem on the current line.
|
" Apply AutoFix to problem on the current line.
|
||||||
nmap <leader>qf <Plug>(coc-fix-current)
|
nmap <leader>qf <Plug>(coc-fix-current)
|
||||||
|
" GoTo code navigation.
|
||||||
|
nmap <silent> gd <Plug>(coc-definition)
|
||||||
|
nmap <silent> gy <Plug>(coc-type-definition)
|
||||||
|
nmap <silent> gi <Plug>(coc-implementation)
|
||||||
|
nmap <silent> gr <Plug>(coc-references)
|
||||||
|
|
||||||
"""""
|
"""""
|
||||||
"--- TMUX/Clipboard fixes
|
"--- TMUX/Clipboard fixes
|
||||||
|
@ -107,7 +121,7 @@ endif
|
||||||
if exists('##TextYankPost')
|
if exists('##TextYankPost')
|
||||||
augroup BlinkClipboardIntegration
|
augroup BlinkClipboardIntegration
|
||||||
autocmd!
|
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
|
augroup END
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
@ -151,7 +165,7 @@ let g:ctrlp_max_files=0
|
||||||
let g:ctrlp_max_depth=40
|
let g:ctrlp_max_depth=40
|
||||||
let g:ctrlp_show_hidden=1
|
let g:ctrlp_show_hidden=1
|
||||||
let g:ctrlp_custom_ignore = {
|
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$'
|
\ 'file': '\.so$\|\.dat$|\.DS_Store$'
|
||||||
\ }
|
\ }
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue