We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5685765 commit 250f746Copy full SHA for 250f746
1 file changed
create_plugin.py
@@ -18,11 +18,14 @@ def create_plugin(plugin_name):
18
f.write("""
19
let current_dir = expand('<sfile>:p:h/')
20
let g:include_path = resolve(current_dir . '/' . '../include')
21
+let current_dir = expand('<sfile>:p:h/')
22
+let g:src_path = resolve(current_dir . '/' . '../src')
23
24
python3 << EOF
25
import sys
26
27
sys.path.append(vim.eval('g:include_path'))
28
+sys.path.append(vim.eval('g:src_path'))
29
EOF
30
""")
31
f.write("\nsource " + vim_script_path)
0 commit comments