Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cposture/coc-thrift-syntax-support
thrift-syntax-support for vim
https://github.com/cposture/coc-thrift-syntax-support
autocomplete coc nvim-plugin thrift vim-plugin
Last synced: 4 months ago
JSON representation
thrift-syntax-support for vim
- Host: GitHub
- URL: https://github.com/cposture/coc-thrift-syntax-support
- Owner: cposture
- License: mit
- Created: 2021-05-05T07:53:25.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2021-05-05T09:41:11.000Z (almost 4 years ago)
- Last Synced: 2024-08-02T18:39:25.684Z (7 months ago)
- Topics: autocomplete, coc, nvim-plugin, thrift, vim-plugin
- Language: TypeScript
- Homepage:
- Size: 2.08 MB
- Stars: 7
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# coc-thrift-syntax-support
> fork from [thrift-syntax-support](https://github.com/MrKou47/thrift-syntax-support) and [commit](11cc3c9e585f07776a19f921dc72ecd256e9b1e5)
thrift syntax support for vim, You can use it to autocomplete, go to definition


## Install
`: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'}`
## Usage
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 gd (coc-definition)" Use K to show documentation in preview window.
nnoremap K :call show_documentation()function! s:show_documentation()
if (index(['vim','help'], &filetype) >= 0)
execute 'h '.expand('')
else
call CocAction('doHover')
endif
endfunction
```## License
MIT
---
> This extension is built with [create-coc-extension](https://github.com/fannheyward/create-coc-extension)