summaryrefslogtreecommitdiffstats
path: root/scripts/kde-devel-vim.vim
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/kde-devel-vim.vim')
-rw-r--r--scripts/kde-devel-vim.vim6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/kde-devel-vim.vim b/scripts/kde-devel-vim.vim
index 40ad4186..a002e8fc 100644
--- a/scripts/kde-devel-vim.vim
+++ b/scripts/kde-devel-vim.vim
@@ -9,7 +9,7 @@
" should do the trick.
" Don't include these in filename completions
-set suffixes+=.lo,.o,.tqmoc,.la,.closure,.loT
+set suffixes+=.lo,.o,.moc,.la,.closure,.loT
" Search for headers here
set path=.,/usr/include,/usr/local/include,
@@ -314,7 +314,7 @@ function! AddHeader()
let incomment = 1
elseif s =~ '^' . include
break
- elseif s =~ '^#include' && s !~ '\.tqmoc"'
+ elseif s =~ '^#include' && s !~ '\.moc"'
let appendpos = line
elseif codestart == 0 && s !~ '^$'
let codestart = line
@@ -411,7 +411,7 @@ function! UpdateMocFiles()
while i < 80
let s = getline( i )
if s =~ '^#include ".*\.moc"'
- let s = substitute( s, '.*"\(.*\)\.tqmoc"', '\1.h', '' )
+ let s = substitute( s, '.*"\(.*\)\.moc"', '\1.h', '' )
if stridx( &complete, s ) == -1
let &complete = &complete . ',k' . s
endif