小编End*_*ger的帖子

我如何告诉组织模式使用什么注释语法?

我目前正在尝试在 Org 模式下设置 Raku 脚本。但是,Raku 主要模式没有定义注释语法。有没有办法告诉 Org Mode 注释标题参数使用什么注释语法作为标题参数?

例如,这个代码块

* This should be a comment
#+BEGIN_SRC raku :comments org
lorem ipsum
#+END_SRC
Run Code Online (Sandbox Code Playgroud)

编译时提示我没有定义的注释语法。作为参考,在 Raku Major 模式(官方模式)中,评论会像这样正确突出显示

# This is a comment
constant Str this = "is not.";
Run Code Online (Sandbox Code Playgroud)

emacs raku

8
推荐指数
1
解决办法
206
查看次数

标签 统计

emacs ×1

raku ×1