This commit is contained in:
Tanguy Herbron 2022-11-22 09:17:46 +01:00
parent 9a921ec592
commit 32e736065f
7 changed files with 54 additions and 12 deletions

View File

@ -1,16 +1,17 @@
{ {
"dependencies": { "dependencies": {
"coc-json": ">=1.3.6",
"coc-tsserver": ">=1.8.6",
"coc-vetur": ">=1.2.5",
"coc-pyright": ">=1.1.272",
"coc-clangd": ">=0.25.0", "coc-clangd": ">=0.25.0",
"coc-docker": ">=0.5.0",
"coc-go": ">=1.3.0", "coc-go": ">=1.3.0",
"coc-json": ">=1.3.6",
"coc-markdownlint": ">=1.26.0", "coc-markdownlint": ">=1.26.0",
"coc-rust-analyzer": ">=0.68.2",
"coc-pairs": ">=1.3.2", "coc-pairs": ">=1.3.2",
"coc-docker": ">=0.5.0" "coc-pyright": ">=1.1.272",
}, "coc-rls": ">=1.1.6",
"disabled": [], "coc-rust-analyzer": ">=0.68.2",
"locked": [] "coc-sh": ">=0.7.0",
"coc-tsserver": ">=1.11.11",
"coc-vetur": ">=1.2.5",
"coc-yaml": ">=1.8.0"
}
} }

View File

@ -4,5 +4,16 @@
"vetur.format.options.useTabs": true, "vetur.format.options.useTabs": true,
"rust-analyzer.procMacro.enable": true, "rust-analyzer.procMacro.enable": true,
"rust-analyzer.procMacro.attributes.enable": true, "rust-analyzer.procMacro.attributes.enable": true,
"rust-analyzer.diagnostics.disabled": ["unresolved-proc-macro"] "rust-analyzer.diagnostics.disabled": ["unresolved-proc-macro"],
"yaml.schemas": {
"kubernetes": "/*.yaml"
},
"languageserver": {
"bash": {
"command": "bash-language-server",
"args": ["start"],
"filetypes": ["sh", "hbs"],
"ignoredRootPaths": ["~"]
}
}
} }

View File

@ -37,6 +37,13 @@ Plug 'machakann/vim-highlightedyank'
" Markdown preview in browser " Markdown preview in browser
Plug 'iamcco/markdown-preview.nvim', { 'do': { -> mkdp#util#install() }, 'for': ['markdown', 'vim-plug']} Plug 'iamcco/markdown-preview.nvim', { 'do': { -> mkdp#util#install() }, 'for': ['markdown', 'vim-plug']}
"" Markdown table formatter
"Plug 'junegunn/vim-easy-align'
" Markdown formatting
Plug 'godlygeek/tabular'
Plug 'preservim/vim-markdown'
" React syntax highlighter " React syntax highlighter
" i3 config checker " i3 config checker
@ -47,6 +54,8 @@ Plug 'mboughaba/i3config.vim'
" Plug 'lervag/vimtex' " Plug 'lervag/vimtex'
" Plug 'ekalinin/Dockerfile.vim' " Plug 'ekalinin/Dockerfile.vim'
" Vim integration in tmux
Plug 'vimpostor/vim-tpipeline'
call plug#end() call plug#end()
" autocmd vimenter * NERDTree | wincmd w " autocmd vimenter * NERDTree | wincmd w
@ -175,3 +184,8 @@ augroup python
\ | highlight def link pythonSelf Special \ | highlight def link pythonSelf Special
augroup end augroup end
" Markdown formatter macro
nnoremap <leader>t :TableFormat<CR>
let g:coc_disable_startup_warning = 1

@ -1 +1 @@
Subproject commit ae32fd58b3623b52005c72fb1edcb09ab753ad45 Subproject commit 0b026542699ca0f2de7c5354fe0ff1184e63a3f3

View File

@ -156,4 +156,12 @@ run -b '~/.tmux/plugins/tpm/tpm'
unbind p unbind p
set -g @bw-key 'p' set -g @bw-key 'p'
# vim-tpipeline recommended configuration
set -g focus-event on
set -g status-style bg=default
set -g status-left-length 90
set -g status-right-length 90
set -g status-justify centre
# run-shell "~/.tmux/boot.sh" # run-shell "~/.tmux/boot.sh"

@ -1 +1 @@
Subproject commit 95f78336c3972f3e6648b7b3db754f2224320a5e Subproject commit b699a7e01c253ffb7818b02d62bce24190ec1019

8
.zshrc
View File

@ -48,6 +48,10 @@ export EDITOR='nvim'
# Add custom script to path # Add custom script to path
export PATH="$HOME/.bin:$PATH" export PATH="$HOME/.bin:$PATH"
export PATH="$HOME/.local/bin:$PATH"
# Go path
export PATH=$PATH:/usr/local/go/bin
# The next line updates PATH for the Google Cloud SDK. # The next line updates PATH for the Google Cloud SDK.
if [ -f '/home/tanguy/Downloads/tmp/google-cloud-sdk/path.zsh.inc' ]; then . '/home/tanguy/Downloads/tmp/google-cloud-sdk/path.zsh.inc'; fi if [ -f '/home/tanguy/Downloads/tmp/google-cloud-sdk/path.zsh.inc' ]; then . '/home/tanguy/Downloads/tmp/google-cloud-sdk/path.zsh.inc'; fi
@ -118,3 +122,7 @@ function wg-reload() {
[ -x "$(command -v tmux)" ] \ [ -x "$(command -v tmux)" ] \
&& [ -z "${TMUX}" ] \ && [ -z "${TMUX}" ] \
&& { tmux attach || tmux new -s Halia -n Local -d && tmux attach; } && { tmux attach || tmux new -s Halia -n Local -d && tmux attach; }
# Generated for envman. Do not edit.
[ -s "$HOME/.config/envman/load.sh" ] && source "$HOME/.config/envman/load.sh"