disabled autosuggest as it really too slow for now. fix for nimdoc comments auto-formatting

This commit is contained in:
Zahary Karadjov 2012-11-20 00:26:36 +02:00
commit 15a6f3e4ac
2 changed files with 3 additions and 3 deletions

View file

@ -14,7 +14,7 @@ fun! s:UpdateNimLog()
let g:nim_log = [] let g:nim_log = []
match Search /^nimrod.*/ match Search /^nimrod\ idetools.*/
endf endf
augroup NimLog augroup NimLog
@ -95,7 +95,7 @@ if !exists("g:neocomplcache_omni_patterns")
let g:neocomplcache_omni_patterns = {} let g:neocomplcache_omni_patterns = {}
endif endif
let g:neocomplcache_omni_patterns['nimrod'] = '[^. *\t]\.\w*' " let g:neocomplcache_omni_patterns['nimrod'] = '[^. *\t]\.\w*'
fun! GotoDefinition_nimrod() fun! GotoDefinition_nimrod()
let defOut = NimExec("--def") let defOut = NimExec("--def")

View file

@ -10,7 +10,7 @@ set cpo&vim
call nimrod#init() call nimrod#init()
setlocal formatoptions-=t formatoptions+=croql setlocal formatoptions-=t formatoptions+=croql
setlocal comments=:# setlocal comments=:##,:#
setlocal commentstring=#\ %s setlocal commentstring=#\ %s
setlocal omnifunc=NimComplete setlocal omnifunc=NimComplete
compiler nimrod compiler nimrod