From 15a6f3e4acc54e6d10f319ed8202bae59c334c59 Mon Sep 17 00:00:00 2001 From: Zahary Karadjov Date: Tue, 20 Nov 2012 00:26:36 +0200 Subject: [PATCH] disabled autosuggest as it really too slow for now. fix for nimdoc comments auto-formatting --- autoload/nimrod.vim | 4 ++-- ftplugin/nimrod.vim | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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