minor updates

This commit is contained in:
waldek 2022-02-15 21:33:27 +01:00
parent 4a5d141ef2
commit 7b6483a9b7
2 changed files with 27 additions and 1 deletions

View File

@ -5,7 +5,7 @@ let _files = []
call add(_files, _vimrc_dir . "/vundle_essentials.vimrc")
call add(_files, _vimrc_dir . "/essentials.vimrc")
call add(_files, _vimrc_dir . "/visual.vimrc")
call add(_files, _vimrc_dir . "/systemd.vim")
"call add(_files, _vimrc_dir . "/systemd.vim")
for f in _files
execute 'source' f

View File

@ -57,6 +57,11 @@ map <leader>rr :execute '!x-terminal-emulator -e python3 ~/bin/python/vim_run.py
" mail should not wrap for mutt
autocmd FileType mail set textwidth=0
" ical
" ----
autocmd! BufRead,BufNewFile *.ics setfiletype icalendar
" arduino
" -------
@ -83,6 +88,27 @@ set foldmethod=expr
" lsp-settings
" ------------
" 'cmd': {server_info->['/home/waldek/.virtualenvs/configuration-language-server-/bin/confls']},
au User lsp_setup
\ call lsp#register_server({
\ 'name': 'confls',
\ 'tcp': '127.0.0.1:9999',
\ 'cmd': {server_info->['pyls']},
\ 'allowlist': ['systemd']
\ })
"if executable('/home/waldek/.virtualenvs/configuration-language-server-/bin/confls')
" " pip install python-language-server
" au User lsp_setup call lsp#register_server({
" \ 'name': 'confls',
" \ 'tcp': "localhost:9999",
" \ 'allowlist': ['systemd'],
" \ })
"endif
" TagBar
" ------