Compare commits
1 Commits
ansible-pl
...
79510b9353
| Author | SHA1 | Date | |
|---|---|---|---|
| 79510b9353 |
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
[submodule "pack/minpac/opt/minpac"]
|
||||||
|
path = pack/minpac/opt/minpac
|
||||||
|
url = https://github.com/k-takata/minpac.git
|
||||||
@@ -45,7 +45,7 @@ if exists('g:c_doxygen') && g:c_doxygen
|
|||||||
|
|
||||||
" Match: @param name description. @retval name description.
|
" Match: @param name description. @retval name description.
|
||||||
" ^^^^ ^^^^
|
" ^^^^ ^^^^
|
||||||
syn region cDoxygenSpecial matchgroup=cDoxygenComment start='@\(param\(\[\(\|in\|out\|in,out\)\]\)\?\|retval\)\=\s\+' end='\(\s\|$\)' contained display
|
syn region cDoxygenSpecial matchgroup=cDoxygenComment start='@\(param\(\[\(\|in\|out\|in,out\)\]\)\|retval\)\=\s\+' end='\(\s\|$\)' contained display
|
||||||
|
|
||||||
" Match: @tparam name description.
|
" Match: @tparam name description.
|
||||||
" ^^^^
|
" ^^^^
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
hi link jsonKeyword Function
|
hi link jsonKeyword Function
|
||||||
hi link jsonNull Constant
|
hi link jsonNull Constant
|
||||||
hi link jsonQuote Delimiter
|
hi link jsonQuote Delimiter
|
||||||
setlocal conceallevel=0
|
|
||||||
|
|||||||
@@ -16,6 +16,6 @@ function! tmux#isOption(option, value) abort
|
|||||||
if !tmux#inSession()
|
if !tmux#inSession()
|
||||||
return 0
|
return 0
|
||||||
endif
|
endif
|
||||||
let l:option = trim(system('tmux show-options -g '.a:option))
|
let l:set_clipboard = trim(system('tmux show-options -g '.a:option))
|
||||||
return l:option ==# a:option.' '.a:value
|
return l:set_clipboard ==# 'set-clipboard '.a:value
|
||||||
endfunction
|
endfunction
|
||||||
|
|||||||
@@ -1,3 +0,0 @@
|
|||||||
function! wsl#isDetected() abort
|
|
||||||
return $WSLENV !=# ''
|
|
||||||
endfunction
|
|
||||||
@@ -1,17 +1,8 @@
|
|||||||
{
|
{
|
||||||
"clangd.inlayHints.enable": false,
|
|
||||||
"cmake.lsp.enable": true,
|
"cmake.lsp.enable": true,
|
||||||
"diagnostic.enableHighlightLineNumber": false,
|
|
||||||
"diagnostic.errorSign": "▸",
|
|
||||||
"diagnostic.hintSign": "▸",
|
"diagnostic.hintSign": "▸",
|
||||||
"diagnostic.infoSign": "▸",
|
"diagnostic.infoSign": "▸",
|
||||||
"diagnostic.warningSign": "▸",
|
"diagnostic.warningSign": "▸",
|
||||||
"powershell.integratedConsole.showOnStartup": false,
|
"diagnostic.errorSign": "▸",
|
||||||
"suggest.noselect": true,
|
"diagnostic.enableHighlightLineNumber": false
|
||||||
"yaml.schemas": {
|
|
||||||
"https://gitlab.com/gitlab-org/gitlab/-/raw/master/app/assets/javascripts/editor/schema/ci.json": [
|
|
||||||
".gitlab-ci.yml",
|
|
||||||
".gitlab/ci/*.yml"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -126,9 +126,7 @@ if has('gui_running') || &t_Co == 256
|
|||||||
call s:hi('SpellLocal', '5', '', '')
|
call s:hi('SpellLocal', '5', '', '')
|
||||||
call s:hi('SpellRare', '3', '', '')
|
call s:hi('SpellRare', '3', '', '')
|
||||||
call s:hi('StatusLine', '15', '233', '')
|
call s:hi('StatusLine', '15', '233', '')
|
||||||
call s:hi('StatusLineTerm', '15', '233', '')
|
|
||||||
call s:hi('StatusLineNC', '', '235', '')
|
call s:hi('StatusLineNC', '', '235', '')
|
||||||
call s:hi('StatusLineTermNC', '', '235', '')
|
|
||||||
call s:hi('TabLine', '246', '235', 'bold')
|
call s:hi('TabLine', '246', '235', 'bold')
|
||||||
call s:hi('TabLineFill', '', '235', '')
|
call s:hi('TabLineFill', '', '235', '')
|
||||||
call s:hi('TabLineSel', '248', '', 'bold')
|
call s:hi('TabLineSel', '248', '', 'bold')
|
||||||
@@ -215,7 +213,6 @@ if has('gui_running') || &t_Co == 256
|
|||||||
call s:hi('CocInfoFloat', '8', '235', '')
|
call s:hi('CocInfoFloat', '8', '235', '')
|
||||||
call s:hi('CocHintSign', '33', '233', '')
|
call s:hi('CocHintSign', '33', '233', '')
|
||||||
call s:hi('CocHintFloat', '33', '235', '')
|
call s:hi('CocHintFloat', '33', '235', '')
|
||||||
call s:hi('CocInlayHint', '8', '', '')
|
|
||||||
|
|
||||||
call s:hi('SyntasticErrorSign', '160', '233', 'bold')
|
call s:hi('SyntasticErrorSign', '160', '233', 'bold')
|
||||||
call s:hi('SyntasticWarningSign', '129', '233', 'bold')
|
call s:hi('SyntasticWarningSign', '129', '233', 'bold')
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
if has('pythonx')
|
if has('pythonx')
|
||||||
setlocal formatexpr=format#clang_format()
|
set formatexpr=format#clang_format()
|
||||||
endif
|
endif
|
||||||
|
|||||||
@@ -1,6 +1,3 @@
|
|||||||
" Add <> to % matches
|
|
||||||
setlocal matchpairs+=<:>
|
|
||||||
|
|
||||||
if has('pythonx')
|
if has('pythonx')
|
||||||
setlocal formatexpr=format#clang_format()
|
set formatexpr=format#clang_format()
|
||||||
endif
|
endif
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
if has('pythonx')
|
if has('pythonx')
|
||||||
setlocal formatexpr=format#clang_format()
|
set formatexpr=format#clang_format()
|
||||||
endif
|
endif
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
if has('pythonx')
|
if has('pythonx')
|
||||||
setlocal formatexpr=format#clang_format()
|
set formatexpr=format#clang_format()
|
||||||
endif
|
endif
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
if has('pythonx')
|
if has('pythonx')
|
||||||
setlocal formatexpr=format#clang_format()
|
set formatexpr=format#clang_format()
|
||||||
endif
|
endif
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
if has('pythonx')
|
if has('pythonx')
|
||||||
setlocal formatexpr=format#clang_format()
|
set formatexpr=format#clang_format()
|
||||||
endif
|
endif
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
if has('pythonx')
|
if has('pythonx')
|
||||||
setlocal formatexpr=format#clang_format()
|
set formatexpr=format#clang_format()
|
||||||
endif
|
endif
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
if has('pythonx')
|
if has('pythonx')
|
||||||
setlocal formatexpr=format#yapf()
|
set formatexpr=format#yapf()
|
||||||
endif
|
endif
|
||||||
|
|||||||
@@ -1,12 +1,7 @@
|
|||||||
if exists(':GuiFont')
|
if exists(':GuiFont')
|
||||||
if platform#is_windows()
|
if platform#is_windows()
|
||||||
GuiFont! Source\ Code\ Pro:h10
|
GuiFont Consolas:h9
|
||||||
else
|
else
|
||||||
GuiFont Source\ Code\ Pro:h9
|
GuiFont Source\ Code\ Pro:h9
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if exists(':GuiTabline')
|
|
||||||
" Don't use GUI tabline, matches terminal tabline.
|
|
||||||
GuiTabline 0
|
|
||||||
endif
|
|
||||||
|
|||||||
2
gvimrc
2
gvimrc
@@ -6,7 +6,7 @@
|
|||||||
set guioptions=aegi
|
set guioptions=aegi
|
||||||
|
|
||||||
if platform#is_windows()
|
if platform#is_windows()
|
||||||
set guifont=Source\ Code\ Pro:h10
|
set guifont=Consolas:h10:cDEFAULT
|
||||||
else
|
else
|
||||||
" Set default font
|
" Set default font
|
||||||
set guifont=Source\ Code\ Pro\ Medium\ 9
|
set guifont=Source\ Code\ Pro\ Medium\ 9
|
||||||
|
|||||||
@@ -1,28 +0,0 @@
|
|||||||
---
|
|
||||||
- name: nodejs get json containing latest version
|
|
||||||
uri:
|
|
||||||
url: https://nodejs.org/dist/index.json
|
|
||||||
register: latest
|
|
||||||
|
|
||||||
- name: nodejs create directory for downloaded package
|
|
||||||
file:
|
|
||||||
state: directory
|
|
||||||
dest: ~/.local/src
|
|
||||||
|
|
||||||
- name: nodejs download latest package
|
|
||||||
get_url:
|
|
||||||
url: 'https://nodejs.org/dist/{{latest.json[0].version}}/node-{{latest.json[0].version}}-linux-x64.tar.gz'
|
|
||||||
dest: ~/.local/src/node.tar.gz
|
|
||||||
|
|
||||||
- name: nodejs extract downloaded package
|
|
||||||
unarchive:
|
|
||||||
src: ~/.local/src/node.tar.gz
|
|
||||||
dest: ~/.local/src
|
|
||||||
remote_src: true
|
|
||||||
|
|
||||||
- name: nodejs create symlink links
|
|
||||||
file:
|
|
||||||
state: link
|
|
||||||
src: '~/.local/src/node-{{latest.json[0].version}}-linux-x64/bin/{{item}}'
|
|
||||||
dest: '~/.local/bin/{{item}}'
|
|
||||||
with_items: [corepack, node, npm, npx]
|
|
||||||
1
pack/minpac/opt/minpac
Submodule
1
pack/minpac/opt/minpac
Submodule
Submodule pack/minpac/opt/minpac added at 6cf985065a
@@ -12,6 +12,9 @@ augroup benieAugroup
|
|||||||
au BufReadPost * if line("'\"") > 0 && line("'\"") <= line("$")
|
au BufReadPost * if line("'\"") > 0 && line("'\"") <= line("$")
|
||||||
\ | exe "normal! g'\"" | endif
|
\ | exe "normal! g'\"" | endif
|
||||||
|
|
||||||
|
" Highlight conflict markers in any filetype
|
||||||
|
au FileType * call matchadd('Todo', '^\(<<<<<<<\s.*\||||||||\|=======\|>>>>>>>\s.*\)$')
|
||||||
|
|
||||||
" Update `Last change: <date>` on write & go back previous cursor position
|
" Update `Last change: <date>` on write & go back previous cursor position
|
||||||
au FileType help au BufWritePre <buffer>
|
au FileType help au BufWritePre <buffer>
|
||||||
\ 1s/Last change: \zs.*$/\=strftime('%Y %b %d')/e|norm!``
|
\ 1s/Last change: \zs.*$/\=strftime('%Y %b %d')/e|norm!``
|
||||||
|
|||||||
@@ -1,3 +1,11 @@
|
|||||||
|
" minpac
|
||||||
|
function! s:minpac_init() abort
|
||||||
|
packadd minpac | call minpac#init() | source $MYVIMRC
|
||||||
|
endfunction
|
||||||
|
command! PackUpdate call s:minpac_init() | call minpac#update('', {'do': 'call minpac#status()'})
|
||||||
|
command! PackStatus call s:minpac_init() | call minpac#status()
|
||||||
|
command! PackClean call s:minpac_init() | call minpac#clean()
|
||||||
|
|
||||||
" Sort Python Imports
|
" Sort Python Imports
|
||||||
command! ISort call do#isort()
|
command! ISort call do#isort()
|
||||||
|
|
||||||
|
|||||||
@@ -115,10 +115,6 @@ else
|
|||||||
noremap <leader>p "+p
|
noremap <leader>p "+p
|
||||||
noremap <leader>P "+P
|
noremap <leader>P "+P
|
||||||
endif
|
endif
|
||||||
if has('nvim-0.5.2')
|
|
||||||
" Undo neovim's default mapping of Y to y$
|
|
||||||
unmap Y
|
|
||||||
endif
|
|
||||||
|
|
||||||
" Quickly access spelling menu
|
" Quickly access spelling menu
|
||||||
inoremap <C-s> <C-g>u<C-X>s
|
inoremap <C-s> <C-g>u<C-X>s
|
||||||
|
|||||||
@@ -176,7 +176,7 @@ if &t_Co == 8 && $TERM !~# '^linux\|^Eterm'
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
" Change cursor dependant on current mode
|
" Change cursor dependant on current mode
|
||||||
if !has('nvim') && has('cursorshape') && has('unix') && !has('gui_running')
|
if has('cursorshape') && has('unix') && !has('gui_running')
|
||||||
if $TMUX ==# '' && $ITERM_PROFILE !=# ''
|
if $TMUX ==# '' && $ITERM_PROFILE !=# ''
|
||||||
let &t_SI = "\<Esc>]50;CursorShape=1\x7"
|
let &t_SI = "\<Esc>]50;CursorShape=1\x7"
|
||||||
let &t_EI = "\<Esc>]50;CursorShape=0\x7"
|
let &t_EI = "\<Esc>]50;CursorShape=0\x7"
|
||||||
|
|||||||
48
tasks.yaml
48
tasks.yaml
@@ -1,17 +1,37 @@
|
|||||||
---
|
---
|
||||||
- include_vars: ~/.config/nvim/vars.yaml
|
- name: (neo)vim clone minpac
|
||||||
|
|
||||||
- name: clone plugin repos
|
|
||||||
when: ansible_os_family != "Windows"
|
|
||||||
git:
|
git:
|
||||||
repo: 'https://github.com/{{item.repo}}.git'
|
repo: https://github.com/k-takata/minpac.git
|
||||||
dest: '~/.config/nvim/pack/minpac/{{lookup("vars", "item.mode", default="start")}}/{{item.repo | regex_replace("^.*\/(.*)$", "\1")}}'
|
dest: pack/minpac/opt/minpac
|
||||||
version: '{{lookup("vars", "item.branch", default="HEAD")}}'
|
|
||||||
with_items: '{{plugins}}'
|
|
||||||
|
|
||||||
- name: clone plugin repos
|
- name: (neo)vim install pip packages
|
||||||
when: ansible_os_family == "Windows"
|
pip:
|
||||||
win_git:
|
name: '{{item}}'
|
||||||
repo: 'https://github.com/{{item.repo}}.git'
|
state: latest
|
||||||
dest: '{{ansible_env.LOCALAPPDATA}}/nvim/pack/minpac/{{lookup("vars", "item.mode", default="start")}}/{{item.repo | regex_replace("^.*\/(.*)$", "\1")}}'
|
extra_args: --user
|
||||||
version: '{{lookup("vars", "item.branch", default="HEAD")}}'
|
with_items:
|
||||||
|
- cmake-language-server
|
||||||
|
- cmakelint
|
||||||
|
- compdb
|
||||||
|
- vim-vint
|
||||||
|
- yamllint
|
||||||
|
|
||||||
|
- name: (neo)vim install apt packages
|
||||||
|
when: ansible_distribution == 'Ubuntu' and
|
||||||
|
ansible_distribution_release == '20.04'
|
||||||
|
become: true
|
||||||
|
apt:
|
||||||
|
name: '{{item}}'
|
||||||
|
state: latest
|
||||||
|
with_items:
|
||||||
|
- clangd-12
|
||||||
|
|
||||||
|
- name: (neo)vim install clangd alternative
|
||||||
|
when: ansible_distribution == "Ubuntu" and
|
||||||
|
ansible_distribution_release = "20.04"
|
||||||
|
become: true
|
||||||
|
alternatives:
|
||||||
|
name: clangd
|
||||||
|
path: /usr/bin/clangd-12
|
||||||
|
link: /usr/local/bin/clangd
|
||||||
|
priority: 120
|
||||||
|
|||||||
66
vars.yaml
66
vars.yaml
@@ -1,66 +0,0 @@
|
|||||||
---
|
|
||||||
plugins:
|
|
||||||
- repo: mkitt/tabline.vim
|
|
||||||
- repo: neoclide/coc.nvim
|
|
||||||
branch: release
|
|
||||||
- repo: SirVer/ultisnips
|
|
||||||
- repo: honza/vim-snippets
|
|
||||||
- repo: vim-scripts/vimomni
|
|
||||||
mode: opt
|
|
||||||
- repo: w0rp/ale
|
|
||||||
- repo: mhinz/vim-signify
|
|
||||||
|
|
||||||
# Text Objects
|
|
||||||
- repo: kana/vim-textobj-user
|
|
||||||
# TODO: Doesn't work with nvim
|
|
||||||
- repo: kana/vim-textobj-entire
|
|
||||||
- repo: sgur/vim-textobj-parameter
|
|
||||||
- repo: jceb/vim-textobj-uri
|
|
||||||
- repo: glts/vim-textobj-comment
|
|
||||||
- repo: reedes/vim-textobj-sentence
|
|
||||||
|
|
||||||
# Tim Pope
|
|
||||||
- repo: tpope/vim-commentary
|
|
||||||
- repo: tpope/vim-surround
|
|
||||||
- repo: tpope/vim-repeat
|
|
||||||
- repo: tpope/vim-fugitive
|
|
||||||
- repo: tpope/vim-eunuch
|
|
||||||
- repo: tpope/vim-vinegar
|
|
||||||
- repo: tpope/vim-abolish
|
|
||||||
- repo: tpope/vim-unimpaired
|
|
||||||
- repo: tpope/vim-speeddating
|
|
||||||
- repo: godbyk/vim-endwise
|
|
||||||
branch: patch-1
|
|
||||||
- repo: tpope/vim-jdaddy
|
|
||||||
- repo: tpope/vim-projectionist
|
|
||||||
|
|
||||||
# Still necessary?
|
|
||||||
- repo: junegunn/fzf
|
|
||||||
- repo: junegunn/fzf.vim
|
|
||||||
|
|
||||||
# Forgot about this...
|
|
||||||
- repo: kbenzie/note.vim
|
|
||||||
|
|
||||||
# TODO: Move to tmux role?
|
|
||||||
# Pack 'christoomey/vim-tmux-navigator'
|
|
||||||
# Pack 'tmux-plugins/vim-tmux-focus-events'
|
|
||||||
|
|
||||||
- repo: wincent/replay
|
|
||||||
- repo: andymass/vim-matchup
|
|
||||||
- repo: dhruvasagar/vim-table-mode
|
|
||||||
- repo: vim-scripts/DoxygenToolkit.vim
|
|
||||||
mode: opt
|
|
||||||
- repo: guns/xterm-color-table.vim
|
|
||||||
|
|
||||||
# Syntax
|
|
||||||
- repo: kalekundert/vim-coiled-snake
|
|
||||||
- repo: kbenzie/vim-spirv
|
|
||||||
- repo: rperier/vim-cmake-syntax
|
|
||||||
- repo: tikhomirov/vim-glsl
|
|
||||||
- repo: beyondmarc/hlsl.vim
|
|
||||||
- repo: frasercrmck/opencl.vim
|
|
||||||
- repo: asciidoc/vim-asciidoc
|
|
||||||
- repo: mustache/vim-mustache-handlebars
|
|
||||||
- repo: joshglendenning/vim-caddyfile
|
|
||||||
- repo: kbenzie/vim-khr
|
|
||||||
- repo: jrozner/vim-antlr
|
|
||||||
26
vimrc
26
vimrc
@@ -11,6 +11,14 @@ if has('syntax') && !exists('g:syntax_on')
|
|||||||
syntax enable
|
syntax enable
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
if exists('*minpac#init')
|
||||||
|
" When minpac is loaded define the Pack command to add packages.
|
||||||
|
command! -nargs=+ Pack call minpac#add(<args>)
|
||||||
|
else
|
||||||
|
" Otherwise define the Pack command to do nothing.
|
||||||
|
command! -nargs=+ Pack
|
||||||
|
endif
|
||||||
|
|
||||||
" Append work config to runtimepath and packpath.
|
" Append work config to runtimepath and packpath.
|
||||||
set runtimepath+=~/.config/work
|
set runtimepath+=~/.config/work
|
||||||
set packpath+=~/.config/work
|
set packpath+=~/.config/work
|
||||||
@@ -18,13 +26,12 @@ set packpath+=~/.config/work
|
|||||||
" tabline.vim - sanely numbered tabs
|
" tabline.vim - sanely numbered tabs
|
||||||
Pack 'mkitt/tabline.vim'
|
Pack 'mkitt/tabline.vim'
|
||||||
|
|
||||||
" coc.nvim - Conqueror of Completion
|
" coc.nvim Conqueror of Completion
|
||||||
Pack 'neoclide/coc.nvim', {'branch': 'release'}
|
Pack 'neoclide/coc.nvim', {'branch': 'release'}
|
||||||
let g:coc_global_extensions = [
|
let g:coc_global_extensions = [
|
||||||
\ 'coc-clangd',
|
\ 'coc-clangd',
|
||||||
\ 'coc-cmake',
|
\ 'coc-cmake',
|
||||||
\ 'coc-css',
|
\ 'coc-css',
|
||||||
\ 'coc-docker',
|
|
||||||
\ 'coc-html',
|
\ 'coc-html',
|
||||||
\ 'coc-jedi',
|
\ 'coc-jedi',
|
||||||
\ 'coc-json',
|
\ 'coc-json',
|
||||||
@@ -34,11 +41,6 @@ let g:coc_global_extensions = [
|
|||||||
\ 'coc-vimlsp',
|
\ 'coc-vimlsp',
|
||||||
\ 'coc-yaml',
|
\ 'coc-yaml',
|
||||||
\]
|
\]
|
||||||
if has("win32")
|
|
||||||
let g:coc_global_extensions += [
|
|
||||||
\ 'coc-powershell'
|
|
||||||
\]
|
|
||||||
endif
|
|
||||||
let g:coc_default_semantic_highlight_groups = 0
|
let g:coc_default_semantic_highlight_groups = 0
|
||||||
|
|
||||||
" ultisnips - snippet engine
|
" ultisnips - snippet engine
|
||||||
@@ -56,11 +58,9 @@ let g:ale_linters = {'c': [], 'cpp': []}
|
|||||||
let g:ale_cmake_cmakelint_options =
|
let g:ale_cmake_cmakelint_options =
|
||||||
\ '-convention/filename,-package/consistency,-package/stdargs'
|
\ '-convention/filename,-package/consistency,-package/stdargs'
|
||||||
|
|
||||||
" vim-signify - Version control differences in the sign column
|
" Version control differences in the sign column
|
||||||
Pack 'mhinz/vim-signify'
|
Pack 'mhinz/vim-signify'
|
||||||
let g:signify_sign_change = '~'
|
let g:signify_sign_change = '~'
|
||||||
" Conflict marker utilities
|
|
||||||
Pack 'rhysd/conflict-marker.vim'
|
|
||||||
|
|
||||||
" vim-textobj-user - library for creating text objects
|
" vim-textobj-user - library for creating text objects
|
||||||
Pack 'kana/vim-textobj-user'
|
Pack 'kana/vim-textobj-user'
|
||||||
@@ -96,10 +96,6 @@ Pack 'tpope/vim-fugitive'
|
|||||||
Pack 'tpope/vim-eunuch'
|
Pack 'tpope/vim-eunuch'
|
||||||
" vim-vinegar - improved directory browser
|
" vim-vinegar - improved directory browser
|
||||||
Pack 'tpope/vim-vinegar'
|
Pack 'tpope/vim-vinegar'
|
||||||
if wsl#isDetected()
|
|
||||||
" Make gx work in WSL
|
|
||||||
let g:netrw_browsex_viewer='cmd.exe /C start'
|
|
||||||
endif
|
|
||||||
" vim-abolish - CamelCase to under_score to mixedCase
|
" vim-abolish - CamelCase to under_score to mixedCase
|
||||||
" TODO: Copy the good bit remove this plugin
|
" TODO: Copy the good bit remove this plugin
|
||||||
Pack 'tpope/vim-abolish'
|
Pack 'tpope/vim-abolish'
|
||||||
@@ -165,7 +161,7 @@ let g:rst_syntax_code_list = {
|
|||||||
\ 'python': ['python']
|
\ 'python': ['python']
|
||||||
\ }
|
\ }
|
||||||
|
|
||||||
" vim-coiled-snake - Python folding
|
" Python folding
|
||||||
Pack 'kalekundert/vim-coiled-snake'
|
Pack 'kalekundert/vim-coiled-snake'
|
||||||
|
|
||||||
" Enable builtin syntax folding
|
" Enable builtin syntax folding
|
||||||
|
|||||||
Reference in New Issue
Block a user