thrift syntax support
npm install coc-thrift-syntax-support> fork from thrift-syntax-support and commit
thrift syntax support for vim, You can use it to autocomplete, go to definition
!Example showcasing autocompletion
!Example showcasing go-to-defintion
!Example showcasing hover information
:CocInstall coc-thrift-syntax-support
If you are using vim's plugin manager for coc-extensions, here's an example with vim-plug:
Plug 'cposture/coc-thrift-syntax-support', {'do': 'yarn install --frozen-lockfile && yarn build'}
coc-thrift-syntax-support trigger completion request automatically without explicitly requesting it using a keyboard shortcut
If you firstly use coc-extensions, here are some common configurations
``vim
" GoTo code navigation.
nmap
" Use K to show documentation in preview window.
nnoremap
function! s:show_documentation()
if (index(['vim','help'], &filetype) >= 0)
execute 'h '.expand('
else
call CocAction('doHover')
endif
endfunction
``
MIT
---
> This extension is built with create-coc-extension