changed to ale completion
This commit is contained in:
parent
3118593ffe
commit
1570a5a984
|
@ -65,3 +65,6 @@ https://osintframework.com/ OSINT Framework
|
|||
https://packetstormsecurity.com/ Packet Storm
|
||||
https://tryhackme.com/mnemonicdaemon/badges/redteamcapstone TryHackMe | User Badge
|
||||
https://writeup.raw.pm/ Write-up Factory
|
||||
https://www.wietzebeukema.nl/powershell-securestring-decoder/ PowerShell: ConvertFrom-SecureString decoder
|
||||
https://genneko.github.io/playing-with-bsd/networking/freebsd-vlan/ Understanding VLAN Configuration on FreeBSD - genneko
|
||||
https://clinta.github.io/freebsd-jails-the-hard-way/ https://clinta.github.io/freebsd-jails-the-hard-way/
|
||||
|
|
34
vim/.vimrc
34
vim/.vimrc
|
@ -201,22 +201,29 @@ call AutoHighlightToggle()
|
|||
" Code Completion
|
||||
"
|
||||
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
||||
set splitright
|
||||
let g:ale_enabled = 1
|
||||
let g:ale_hover_enabled = 1
|
||||
let g:ale_completion_enabled = 1
|
||||
let g:ale_completion_autoimport = 1
|
||||
" let g:ale_floating_window_border = ['│', '─', '╭', '╮', '╯', '╰', '│', '─']
|
||||
let g:ale_floating_window_border = repeat([''], 8)
|
||||
" let g:ale_close_preview_on_insert = 1
|
||||
" let g:ale_popup_menu_enabled = 1
|
||||
" nmap gr :ALEFindReferences<CR>
|
||||
" nmap K :ALEHover<CR>
|
||||
|
||||
set completeopt+=menuone
|
||||
set completeopt+=noselect
|
||||
set completeopt+=noinsert
|
||||
" set completeopt+=menuone
|
||||
" set completeopt+=noselect
|
||||
" set completeopt+=noinsert
|
||||
set shortmess+=c " Shut off completion messages
|
||||
set belloff+=ctrlg " Add only if Vim beeps during completion
|
||||
let g:mucomplete#enable_auto_at_startup = 1
|
||||
let g:mucomplete#completion_delay = 1
|
||||
|
||||
set omnifunc=syntaxcomplete#Complete
|
||||
" set omnifunc=syntaxcomplete#Complete
|
||||
" set omnifunc=ale#completion#Complete
|
||||
"set omnifunc=ale#completion#OmniFunc
|
||||
set omnifunc=ale#completion#OmniFunc
|
||||
"let g:ale_completion_enabled=1
|
||||
"function! OpenCompletion()
|
||||
" if !pumvisible() && ((v:char >= 'a' && v:char <= 'z') || (v:char >= 'A' && v:char <= 'Z'))
|
||||
|
@ -227,11 +234,26 @@ set omnifunc=syntaxcomplete#Complete
|
|||
"autocmd InsertCharPre * call OpenCompletion()
|
||||
let g:ale_set_balloons=1
|
||||
"
|
||||
"set completeopt+=longest,menu,menuone,preview,noselect,noinsert
|
||||
set completeopt+=longest,menu,menuone,preview,noselect,noinsert
|
||||
set splitkeep=screen
|
||||
"" set completeopt+=menuone,noselect,noinsert
|
||||
""
|
||||
autocmd InsertLeave,CompleteDone * if pumvisible() == 0 | pclose | endif
|
||||
|
||||
"
|
||||
"
|
||||
" --This puts the preview window to the right of the screen
|
||||
"
|
||||
" augroup previewWindowPosition
|
||||
" au!
|
||||
" autocmd BufWinEnter * call PreviewWindowPosition()
|
||||
" augroup END
|
||||
" function! PreviewWindowPosition()
|
||||
" if &previewwindow
|
||||
" wincmd L
|
||||
" endif
|
||||
" endfunction
|
||||
|
||||
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
||||
"
|
||||
" Remove conceal from Markdown when Insert mode is set
|
||||
|
|
Loading…
Reference in New Issue