nvim-yati icon indicating copy to clipboard operation
nvim-yati copied to clipboard

Cython support

Open williamhCode opened this issue 2 years ago • 1 comments

Could Cython support be added? A symlink would probably work configs/python.lua -> cython.lua

williamhCode avatar Sep 05 '22 23:09 williamhCode

I tested that this does't work, I think nvim-treesitter has to add Cython support for this to work

williamhCode avatar Sep 12 '22 15:09 williamhCode

Hi, sorry for the late response, it seems that there is no support for Cython in upstream, and there might be no way to add support here. One workaround is to manually set 'filetype' to 'python' using :h ftdetect but this will not always work since the syntax is not completely compatible and tree-sitter syntax for Cython is not available yet. Still recommend to use dedicated plugin for Cython (or similar langs) instead.

yioneko avatar Oct 05 '22 09:10 yioneko

I see, thanks for the response!

williamhCode avatar Oct 06 '22 03:10 williamhCode