|
|
|
@ -6,12 +6,15 @@ set spr sb |
|
|
|
set pb=12 winbl=12 |
|
|
|
set pb=12 winbl=12 |
|
|
|
set fcs=eob:\ list lcs=tab:\│\ ,trail:⎵ |
|
|
|
set fcs=eob:\ list lcs=tab:\│\ ,trail:⎵ |
|
|
|
" on windows, prevents hanging! on unix, get rid of this. |
|
|
|
" on windows, prevents hanging! on unix, get rid of this. |
|
|
|
" nmap <C-z> <Nop> |
|
|
|
nmap <C-z> <Nop> |
|
|
|
let g:mapleader = " " |
|
|
|
let g:mapleader = " " |
|
|
|
set mouse=a |
|
|
|
set mouse=a |
|
|
|
set number |
|
|
|
set number |
|
|
|
autocmd FileType yaml setlocal ts=2 sw=2 |
|
|
|
autocmd FileType yaml setlocal ts=2 sw=2 |
|
|
|
autocmd FileType yaml.ansible setlocal ts=2 sw=2 |
|
|
|
autocmd FileType yaml.ansible setlocal ts=2 sw=2 |
|
|
|
|
|
|
|
autocmd FileType ps1 LspStart |
|
|
|
|
|
|
|
" enable Escape key to return to normal mode in terminal window |
|
|
|
|
|
|
|
tnoremap <Esc> <C-\><C-n> |
|
|
|
|
|
|
|
|
|
|
|
function s:InitLSP() |
|
|
|
function s:InitLSP() |
|
|
|
lua <<EOF |
|
|
|
lua <<EOF |
|
|
|
@ -63,6 +66,12 @@ lua <<EOF |
|
|
|
flags = {debounce_text_changes = 500} |
|
|
|
flags = {debounce_text_changes = 500} |
|
|
|
} |
|
|
|
} |
|
|
|
end |
|
|
|
end |
|
|
|
|
|
|
|
lspconfig['powershell_es'].setup { |
|
|
|
|
|
|
|
bundle_path = 'C:/Powershell_ES/PowerShellEditorServices', |
|
|
|
|
|
|
|
capabilities = caps, |
|
|
|
|
|
|
|
on_attach = onattach, |
|
|
|
|
|
|
|
flags = {debounce_text_changes = 500} |
|
|
|
|
|
|
|
} |
|
|
|
EOF |
|
|
|
EOF |
|
|
|
endfunction |
|
|
|
endfunction |
|
|
|
|
|
|
|
|
|
|
|
|