Open jackhub opened 2 years ago
Change one line of code fix this, plugin/templates.vim, line 275.
From let l:fileparts = add(l:fileparts, expand('%')) " full file name To: let l:fileparts = add(l:fileparts, expand('%:t')) " file tail
Don't know why here need a 'full file name'.
When edit a cmake file, it expands for
:e CMakeLists.txt
but not for:e build/CMakeLists.txt
.Even manually call
:TemplateAutoInit
, it still not works.