aboutsummaryrefslogtreecommitdiffstats
path: root/projects
diff options
context:
space:
mode:
authorTeddy Wing2020-07-02 23:32:54 +0200
committerTeddy Wing2020-07-04 20:05:00 +0200
commit5538c43d319a74a2ed12d39135b7aee3efe98469 (patch)
tree315de11edf221859186c14b0ecf21992d304f02a /projects
parentf3d05ab5176c03bfc5be9ef472c895734fae1a54 (diff)
downloaddotvim-5538c43d319a74a2ed12d39135b7aee3efe98469.tar.bz2
projects/aodocs.vim: Set 'path' for UFO extension project
Enable `gf` and related commands to work by setting the proper 'path', and ensuring the `.js` suffix is used on files.
Diffstat (limited to 'projects')
-rw-r--r--projects/aodocs.vim3
1 files changed, 3 insertions, 0 deletions
diff --git a/projects/aodocs.vim b/projects/aodocs.vim
index 109f336..55c5f03 100644
--- a/projects/aodocs.vim
+++ b/projects/aodocs.vim
@@ -38,6 +38,9 @@ augroup AODocs
autocmd BufRead,BufEnter $VIM_PROJECT_PATH_AODOCS_GO/*
\ let g:go_play_browser_command = 'open -a Nightly %URL% &'
+ autocmd BufRead,BufEnter $VIM_PROJECT_PATH_AODOCS_UFO_EXTENSION/*.js
+ \ setlocal path+=$VIM_PROJECT_PATH_AODOCS_UFO_EXTENSION_MODULE
+
autocmd BufRead,BufEnter *.todo
\ nnoremap <buffer> <Leader>yy :call <SID>TodoCopyLast()<CR>
augroup END