summaryrefslogtreecommitdiffstats
path: root/scripts/kde-devel-vim.vim
diff options
context:
space:
mode:
authorDarrell Anderson <[email protected]>2012-10-21 14:56:24 -0500
committerDarrell Anderson <[email protected]>2012-10-21 14:56:24 -0500
commitccb576aa671246fd123b5ca8ff8263a6be7c8bff (patch)
tree929a41eb8929a3ff3289632b82b8c3bde7756914 /scripts/kde-devel-vim.vim
parent1e2cd75fe5dfa3783d839bc1e319629ded446ffb (diff)
downloadtdesdk-ccb576aa671246fd123b5ca8ff8263a6be7c8bff.tar.gz
tdesdk-ccb576aa671246fd123b5ca8ff8263a6be7c8bff.zip
Fix inadvertent tq changes.
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