Skip to content
This repository has been archived by the owner on Feb 27, 2023. It is now read-only.
/ coc-glslx Public archive
forked from evanw/glslx-vscode

GLSLX support in vim with coc.nvim

License

Notifications You must be signed in to change notification settings

Eric-Song-Nop/coc-glslx

 
 

Repository files navigation

coc-glslx [Archived]

Sorry, but because I no longer use Coc.nvim any more, this repository won't be maintained any more. Hope you can find a better glsl language server!

This is a fork from Evanw for support of glslx on coc.nvim

This adds support for the GLSLX shader language to coc.nvim. Features include inline errors, type tooltips, go-to-definition, symbol renaming, and format-on-save. It's open source.

Installation

Right now the plugin is already published on npm, so you need to install the plugin with plugin managers or full url from github.

" Take vim-plug as example
" First install coc.nvim
Plug 'neoclide/coc.nvim'

" Then install coc-glslx using CocInstall
:CocInstall coc-glslx
" Or use Vim-Plug
" Plug 'Eric-Song-Nop/coc-glslx'

Important Note

You need to register the file as glslx filetype so that the extension will take effect!

You can use my vim-glslx plugin for syntax hilighting and filetype recongization:

Plug 'Eric-Song-Nop/vim-glslx'

Or if you don't want my plugin, you can type the following in vim command line to register a new filetype:

:set filetype=glslx

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 51.9%
  • TypeScript 48.1%