Update vim settings.

This commit is contained in:
Alex Manning 2023-09-26 18:48:34 +01:00
parent 264280d914
commit fb2ea78d64
5 changed files with 23 additions and 3 deletions

View file

@ -14,4 +14,4 @@
# If the name does not contain a registry, the local image storage will be
# consulted, and if it's not present there then it will be pulled from a
# suitable remote registry.
image = "ghcr.io/amanning9/fedora-toolbox-alex:latest"
#image = "ghcr.io/amanning9/fedora-toolbox-alex:latest"

View file

@ -21,6 +21,7 @@ endif
" OPTIONS
" ---------------------------------------
set nocompatible " The most important VIM option
set encoding=utf-8 " Why have anything else.
scriptencoding utf-8 " Convert all scripts into UTF8 format

View file

@ -9,5 +9,9 @@
"json.format.enable": false,
"diagnostic.displayByAle": true
"diagnostic.displayByAle": true,
"jedi.enable": true,
"suggest.noselect": true,
}

View file

@ -52,3 +52,18 @@ let g:coc_global_extensions = ['coc-jedi', 'coc-rls', 'coc-tsserver', 'coc-json'
" VIMSPECTOR
let g:vimspector_enable_mappings = 'HUMAN'
let g:vimspector_install_gadgets = ['debugpy']
" Config for ALE originally from their github.
" Use tab for trigger completion with characters ahead and navigate
inoremap <silent><expr> <TAB>
\ coc#pum#visible() ? coc#pum#next(1) :
\ CheckBackspace() ? "\<Tab>" :
\ coc#refresh()
inoremap <expr><S-TAB> coc#pum#visible() ? coc#pum#prev(1) : "\<C-h>"
" Make <CR> to accept selected completion item or notify coc.nvim to format
inoremap <silent><expr> <CR> coc#pum#visible() ? coc#pum#confirm()
\: "\<C-g>u\<CR>\<c-r>=coc#on_enter()\<CR>"
" Use <c-space> to trigger completion
inoremap <silent><expr> <c-@> coc#refresh()

@ -1 +1 @@
Subproject commit 0e34233ad56224b2096022a2c8b0f4b4bd87d2d0
Subproject commit 051de63966223f86fb0859d28fbb3ef093bbb4c9