diff options
author | Josh Rahm <rahm@google.com> | 2022-08-12 12:37:34 -0600 |
---|---|---|
committer | Josh Rahm <rahm@google.com> | 2022-08-12 12:37:34 -0600 |
commit | b6617fa378fb16b19fc669d39cb875711368307d (patch) | |
tree | 59ddfcfdc6c8c8eab387a16dfb0af0d3cdc92c9b /autoload/hints/plugins.vim | |
parent | b42a2885d77c0cc84c90fe32507eefbc22423cd0 (diff) | |
download | fieldmarshal.vim-b6617fa378fb16b19fc669d39cb875711368307d.tar.gz fieldmarshal.vim-b6617fa378fb16b19fc669d39cb875711368307d.tar.bz2 fieldmarshal.vim-b6617fa378fb16b19fc669d39cb875711368307d.zip |
Fix some bugs
Diffstat (limited to 'autoload/hints/plugins.vim')
-rw-r--r-- | autoload/hints/plugins.vim | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/autoload/hints/plugins.vim b/autoload/hints/plugins.vim index b707205..e3e5a9d 100644 --- a/autoload/hints/plugins.vim +++ b/autoload/hints/plugins.vim @@ -28,9 +28,6 @@ function! s:java_plugin.TagLine(linenr, line) dict \ a:line =~ '\<\(public\|private\|protected\|class\|static\|try\|while\|for\|if\|else\|catch\)\>' endfunction -call hints#plugins#registerFt("vim", s:vim_plugin) -call hints#plugins#registerFt("java", s:java_plugin) - function! hints#plugins#registerFt(filetype, plugin) abort let s:ftplugins[a:filetype] = a:plugin endfunction @@ -66,3 +63,6 @@ function! s:default_plugin.TagLine(linenr, line) let self.last_kind = kind return v:false endfunction + +call hints#plugins#registerFt("vim", s:vim_plugin) +call hints#plugins#registerFt("java", s:java_plugin) |