diff --git a/autoload/nimrod.vim b/autoload/nimrod.vim index d6bb12d..13ac84d 100644 --- a/autoload/nimrod.vim +++ b/autoload/nimrod.vim @@ -14,7 +14,7 @@ fun! s:UpdateNimLog() let g:nim_log = [] - match Search /^nimrod.*/ + match Search /^nimrod\ idetools.*/ endf augroup NimLog @@ -95,7 +95,7 @@ if !exists("g:neocomplcache_omni_patterns") let g:neocomplcache_omni_patterns = {} endif -let g:neocomplcache_omni_patterns['nimrod'] = '[^. *\t]\.\w*' +" let g:neocomplcache_omni_patterns['nimrod'] = '[^. *\t]\.\w*' fun! GotoDefinition_nimrod() let defOut = NimExec("--def") diff --git a/ftplugin/nimrod.vim b/ftplugin/nimrod.vim index e5ee894..5f97ed5 100644 --- a/ftplugin/nimrod.vim +++ b/ftplugin/nimrod.vim @@ -10,7 +10,7 @@ set cpo&vim call nimrod#init() setlocal formatoptions-=t formatoptions+=croql -setlocal comments=:# +setlocal comments=:##,:# setlocal commentstring=#\ %s setlocal omnifunc=NimComplete compiler nimrod