laptop changes

This commit is contained in:
waldek 2022-05-24 17:14:33 +02:00
parent 9ef45b8529
commit afb046ece3
2 changed files with 24 additions and 7 deletions

View File

@ -10,7 +10,12 @@ Plugin 'majutsushi/tagbar'
"Plugin 'scrooloose/nerdcommenter' "Plugin 'scrooloose/nerdcommenter'
"Plugin 'kalafut/vim-taskjuggler' "Plugin 'kalafut/vim-taskjuggler'
Plugin 'iamcco/markdown-preview.nvim' Plugin 'iamcco/markdown-preview.nvim'
Plugin 'skywind3000/asyncrun.vim'
Plugin 'mileszs/ack.vim'
" debugging inside vim " debugging inside vim
"Plugin 'Shougo/vimproc.vim' "Plugin 'Shougo/vimproc.vim'
"Plugin 'idanarye/vim-vebugger' "Plugin 'idanarye/vim-vebugger'
Plugin 'puremourning/vimspector'
Plugin 'kalafut/vim-taskjuggler'

View File

@ -88,19 +88,22 @@ set foldmethod=expr
\ foldexpr=lsp#ui#vim#folding#foldexpr() \ foldexpr=lsp#ui#vim#folding#foldexpr()
\ foldtext=lsp#ui#vim#folding#foldtext() \ foldtext=lsp#ui#vim#folding#foldtext()
let g:lsp_hover_conceal=1
let g:markdown_syntax_conceal=1
" lsp-settings " lsp-settings
" ------------ " ------------
" 'cmd': {server_info->['/home/waldek/.virtualenvs/configuration-language-server-/bin/confls']}, " 'cmd': {server_info->['/home/waldek/.virtualenvs/configuration-language-server-/bin/confls']},
au User lsp_setup "au User lsp_setup
\ call lsp#register_server({ " \ call lsp#register_server({
\ 'name': 'confls', " \ 'name': 'confls',
\ 'tcp': '127.0.0.1:9999', " \ 'tcp': '127.0.0.1:9999',
\ 'cmd': {server_info->['pyls']}, " \ 'cmd': {server_info->['pyls']},
\ 'allowlist': ['systemd'] " \ 'allowlist': ['systemd']
\ }) " \ })
"if executable('/home/waldek/.virtualenvs/configuration-language-server-/bin/confls') "if executable('/home/waldek/.virtualenvs/configuration-language-server-/bin/confls')
" " pip install python-language-server " " pip install python-language-server
@ -129,6 +132,15 @@ let g:NERDDefaultAlign = 'left'
let g:vebugger_leader='<Leader>d' let g:vebugger_leader='<Leader>d'
" asyncrun
" --------
let $PYTHONUNBUFFERED=1
let g:asyncrun_open = 8
autocmd filetype python noremap <F5> :AsyncRun -cwd=$(VIM_FILEDIR) -raw python3 "$(VIM_FILEPATH)"<CR>
noremap <F6> :AsyncStop<CR>
noremap <F10> :cclose<CR>
" marker specific " marker specific
" --------------- " ---------------