From b5dfd299061dbd3367dcc9021e7121b8cd14a83f Mon Sep 17 00:00:00 2001 From: Jiri Luzny Date: Sun, 21 Apr 2024 21:57:59 +0200 Subject: [PATCH] added roc support --- doc/nvim-ts-context-commentstring.txt | 1 + lua/ts_context_commentstring/config.lua | 1 + 2 files changed, 2 insertions(+) diff --git a/doc/nvim-ts-context-commentstring.txt b/doc/nvim-ts-context-commentstring.txt index b5fe6a2..e691eb4 100644 --- a/doc/nvim-ts-context-commentstring.txt +++ b/doc/nvim-ts-context-commentstring.txt @@ -29,6 +29,7 @@ language tree (see `lua/ts_context_commentstring/internal.lua`): - `php` - `python` - `rescript` +- `roc` - `scss` - `shell` - `sql` diff --git a/lua/ts_context_commentstring/config.lua b/lua/ts_context_commentstring/config.lua index 3aa2f98..a3e852a 100644 --- a/lua/ts_context_commentstring/config.lua +++ b/lua/ts_context_commentstring/config.lua @@ -89,6 +89,7 @@ M.config = { vue = '', zsh = '# %s', kotlin = { __default = '// %s', __multiline = '/* %s */' }, + roc = '# %s', -- Languages that can have multiple types of comments tsx = {