JoosepAlviste / nvim-ts-context-commentstring

Neovim treesitter plugin for setting the commentstring based on the cursor location in a file.
MIT License
1.13k stars 34 forks source link

Added comment symbol for SQL files #71

Closed jonjes closed 1 year ago

jonjes commented 1 year ago

I added the "--" comment symbol for *.sql files. (I'm not entirely sure whether more sophisticated changes are needed to support commenting in SQL.)

JoosepAlviste commented 1 year ago

Hey, thanks for the PR! Could you also add sql to the supported languages in the docs? Over here: https://github.com/JoosepAlviste/nvim-ts-context-commentstring/blob/main/doc/nvim-ts-context-commentstring.txt#L13

jonjes commented 1 year ago

Yes, good catch. I just added "sql" to the list of supported languages in the doc.

JoosepAlviste commented 1 year ago

Nice, thanks for the contribution!