diff --git a/neovim/nvim.nix b/neovim/nvim.nix index 10b7b5ab..dc083ca3 100644 --- a/neovim/nvim.nix +++ b/neovim/nvim.nix @@ -78,9 +78,13 @@ in rec { comment = { enable = true; - settings.pre_hook = '' - require('ts_context_commentstring.integrations.comment_nvim').create_pre_hook() - ''; + settings.pre_hook = + /* + lua + */ + '' + require('ts_context_commentstring.integrations.comment_nvim').create_pre_hook() + ''; }; markdown-preview = {