diff --git a/main.vimrc b/main.vimrc index a6b71a8..a27d1e9 100644 --- a/main.vimrc +++ b/main.vimrc @@ -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 diff --git a/waldek_plugins.vimrc b/waldek_plugins.vimrc index 9875de8..aa594c8 100644 --- a/waldek_plugins.vimrc +++ b/waldek_plugins.vimrc @@ -57,6 +57,11 @@ map 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 " ------