# \#language

**URL:** https://discuss.kakoune.com/tag/language/17.md?match_all_tags=true&page=1&tags%5B%5D=language

[Latest](https://discuss.kakoune.com/latest.md) · [Categories](https://discuss.kakoune.com/categories.md) · [Tags](https://discuss.kakoune.com/tags.md)

**Page:** 2

---

## [Kakoune-kotlin.kak a plain \*.kak filetype](https://discuss.kakoune.com/t/kakoune-kotlin-kak-a-plain-kak-filetype/1260)

<div class="topic-metadata">

**Author:** [@duncan](https://discuss.kakoune.com/u/duncan)\
**Replies:** 34\
**Last updated:** [December 14, 2021, 9:26pm UTC](https://discuss.kakoune.com/t/kakoune-kotlin-kak-a-plain-kak-filetype/1260 "2021-12-14T21:26:51Z")

</div>

Supported file extensions: (kt|kts) mv kotlin.kak ~/.config/kak/autoload/ plug.kak plug "KJ\_Duncan/kakoune-kotlin.kak" domain "bitbucket.org" Kotlin language support for the Kakoune editor. It’s now implemented as a…

---

## [Eine kleine Forth machine](https://discuss.kakoune.com/t/eine-kleine-forth-machine/1957)

<div class="topic-metadata">

**Author:** [@almr](https://discuss.kakoune.com/u/almr)\
**Replies:** 0\
**Last updated:** [December 12, 2021, 4:36pm UTC](https://discuss.kakoune.com/t/eine-kleine-forth-machine/1957 "2021-12-12T16:36:02Z")

</div>

I’ve written an (incomplete) Forth interpreter on top of kakscript. This was a rather complex effort, which still needs more documenting, and I would like some feedback as time permits (@mawww ?). To use, clone and sy…

---

## [Kakscript has loop, catch this, head/tail/shift, int\>=0, streq ... etc](https://discuss.kakoune.com/t/kakscript-has-loop-catch-this-head-tail-shift-int-0-streq-etc/1885)

<div class="topic-metadata">

**Author:** [@almr](https://discuss.kakoune.com/u/almr)\
**Replies:** 0\
**Last updated:** [September 21, 2021, 4:56am UTC](https://discuss.kakoune.com/t/kakscript-has-loop-catch-this-head-tail-shift-int-0-streq-etc/1885 "2021-09-21T04:56:13Z")

</div>

Note: (entire demo downloadable in one script). Friends, let’s talk about scripting in kakscript, not other languages. Unexpectedly, a lot of things are possible — a lot more than you might think at first. I’ve been usi…

---

## [Sel-editor: editable, live selection-summary buffer](https://discuss.kakoune.com/t/sel-editor-editable-live-selection-summary-buffer/1877)

<div class="topic-metadata">

**Author:** [@almr](https://discuss.kakoune.com/u/almr)\
**Replies:** 3\
**Last updated:** [September 16, 2021, 9:08pm UTC](https://discuss.kakoune.com/t/sel-editor-editable-live-selection-summary-buffer/1877 "2021-09-16T21:08:39Z")

</div>

This plugin, suggested by @Guest0 and @Screwtapello , renders a summary of the current window’s multiple selections (ranges + contents) in a \*selections\* buffer. It can act as a toolsclient, and live-update \*selection…

---

## [Kakoune hook negative selector](https://discuss.kakoune.com/t/kakoune-hook-negative-selector/1867)

<div class="topic-metadata">

**Author:** [@ottertino415](https://discuss.kakoune.com/u/ottertino415)\
**Replies:** 12\
**Last updated:** [September 15, 2021, 8:52pm UTC](https://discuss.kakoune.com/t/kakoune-hook-negative-selector/1867 "2021-09-15T20:52:04Z")

</div>

Hello, is it possible to add negative selector to hook? In mi case I added expanding/unexpanding tabs to spaces to hooks BufOpenFile, BufWritePre and BufWritePost, but I would like these hooks to be disabled when I’m wo…

---

## [Add-highlighter regex: getting the middle bit \`${args.drop(1).joinToString(" ")}\`](https://discuss.kakoune.com/t/add-highlighter-regex-getting-the-middle-bit-args-drop-1-jointostring/1807)

<div class="topic-metadata">

**Author:** [@duncan](https://discuss.kakoune.com/u/duncan)\
**Replies:** 1\
**Last updated:** [July 4, 2021, 11:32pm UTC](https://discuss.kakoune.com/t/add-highlighter-regex-getting-the-middle-bit-args-drop-1-jointostring/1807 "2021-07-04T23:32:46Z")

</div>

Hey @yerlaser and wider community, I’m having trouble getting the middle bit ${args.drop(1).joinToString(" ")} highlighted for kotlin.kak. using add-highlighter regex yet on the next line it picks it up and you …

---

## [\`#!\` shebangs in \`%sh\`](https://discuss.kakoune.com/t/shebangs-in-sh/1800)

<div class="topic-metadata">

**Author:** [@almr](https://discuss.kakoune.com/u/almr)\
**Replies:** 0\
**Last updated:** [June 29, 2021, 4:02pm UTC](https://discuss.kakoune.com/t/shebangs-in-sh/1800 "2021-06-29T16:02:41Z")

</div>

I have this in my kakrc: def tst -params .. %{ echo -debug %sh{#!perl -wn print if /:root:/ } } tst /etc/passwd which produces the expected line in \*debug\* How? get fakesh.sh from f8ksh on GitLab run kak with…

---

## [Pandoc.kak – preview your markdown files](https://discuss.kakoune.com/t/pandoc-kak-preview-your-markdown-files/1394)

<div class="topic-metadata">

**Author:** [@basbebe](https://discuss.kakoune.com/u/basbebe)\
**Replies:** 5\
**Last updated:** [June 29, 2021, 2:45pm UTC](https://discuss.kakoune.com/t/pandoc-kak-preview-your-markdown-files/1394 "2021-06-29T14:45:10Z")

</div>

Hi! I wrote a little pandoc plugin since I use it a lot to convert markdown / markdown+latex files to pdf and liked to have a preview of my current document. It"s my first plugin, it’s very rudimentary and the result o…

---

## [Asciidoctor support - review my config](https://discuss.kakoune.com/t/asciidoctor-support-review-my-config/1752)

<div class="topic-metadata">

**Author:** [@Benjamin\_Neil](https://discuss.kakoune.com/u/Benjamin_Neil)\
**Replies:** 2\
**Last updated:** [June 2, 2021, 8:32am UTC](https://discuss.kakoune.com/t/asciidoctor-support-review-my-config/1752 "2021-06-02T08:32:11Z")

</div>

Hello everyone! I am trying to create a setup that allows me to edit asciidoctor files in a similar way to the Intellij plugin. The features I want are really based around “live preview” functionality, specifically I w…

---

## [Portable shell script to audit Gradle (a build tool for the JVM)](https://discuss.kakoune.com/t/portable-shell-script-to-audit-gradle-a-build-tool-for-the-jvm/1688)

<div class="topic-metadata">

**Author:** [@duncan](https://discuss.kakoune.com/u/duncan)\
**Replies:** 0\
**Last updated:** [April 14, 2021, 2:39pm UTC](https://discuss.kakoune.com/t/portable-shell-script-to-audit-gradle-a-build-tool-for-the-jvm/1688 "2021-04-14T14:39:10Z")

</div>

Script monkeys ahoy! Verifying the integrity of the Gradle Wrapper JAR, for version control repositories that allow users to include a binary payload: gradle/wrapper/gradle-wrapper.jar It does other stuff too. In the …

---

## [Kakoune-java.kak : Java SE 14; operators, keywords, module system, throwables, and static word completion](https://discuss.kakoune.com/t/kakoune-java-kak-java-se-14-operators-keywords-module-system-throwables-and-static-word-completion/1253)

<div class="topic-metadata">

**Author:** [@duncan](https://discuss.kakoune.com/u/duncan)\
**Replies:** 4\
**Last updated:** [April 12, 2021, 8:25pm UTC](https://discuss.kakoune.com/t/kakoune-java-kak-java-se-14-operators-keywords-module-system-throwables-and-static-word-completion/1253 "2021-04-12T20:25:07Z")

</div>

kakoune-java.kak. If you have a Github account feel free to clone it, change what you want, and open a pull request for Kakoune. Java SE 14; operators, keywords, module system, throwables, and static word completion Re…

---

## [Zach's Overengineered Kakoune Plugins](https://discuss.kakoune.com/t/zachs-overengineered-kakoune-plugins/1683)

<div class="topic-metadata">

**Author:** [@abstractlyZach](https://discuss.kakoune.com/u/abstractlyZach)\
**Replies:** 0\
**Last updated:** [April 11, 2021, 8:01pm UTC](https://discuss.kakoune.com/t/zachs-overengineered-kakoune-plugins/1683 "2021-04-11T20:01:06Z")

</div>

Hi everyone! I was particularly interested in kakoune.cr, but I was fuzzy on use cases or the interface. I love learning systems by playing with them, so I set out to create some Kakoune plugins using Python. Hopefully …

---

## [Smarttab plugin + Purescript: how to get spaces when typing TAB?](https://discuss.kakoune.com/t/smarttab-plugin-purescript-how-to-get-spaces-when-typing-tab/1429)

<div class="topic-metadata">

**Author:** [@jbrains](https://discuss.kakoune.com/u/jbrains)\
**Replies:** 6\
**Last updated:** [December 15, 2020, 9:59pm UTC](https://discuss.kakoune.com/t/smarttab-plugin-purescript-how-to-get-spaces-when-typing-tab/1429 "2020-12-15T21:59:14Z")

</div>

Hi, folks. I’m using Kakoune to write Purescript code. This language does not want TAB characters at all. How should I configure the smarttab plugin to give me spaces instead of the TAB character when I use the TAB key t…

---

## [Announcing mediawiki.kak](https://discuss.kakoune.com/t/announcing-mediawiki-kak/1374)

<div class="topic-metadata">

**Author:** [@Ordoviz](https://discuss.kakoune.com/u/Ordoviz)\
**Replies:** 0\
**Last updated:** [November 17, 2020, 6:19pm UTC](https://discuss.kakoune.com/t/announcing-mediawiki-kak/1374 "2020-11-17T18:19:03Z")

</div>

When making complex changes to a wiki, I prefer Kakoune instead of a web-based editor. So I wrote mediawiki.kak which provides syntax highlighting for MediaWiki markup as used on Wikipedia and Fandom among others. There…

---

## [Weird alignment behaviour with haskell](https://discuss.kakoune.com/t/weird-alignment-behaviour-with-haskell/1262)

<div class="topic-metadata">

**Author:** [@tgirod](https://discuss.kakoune.com/u/tgirod)\
**Replies:** 2\
**Last updated:** [October 10, 2020, 7:40pm UTC](https://discuss.kakoune.com/t/weird-alignment-behaviour-with-haskell/1262 "2020-10-10T19:40:22Z")

</div>

Sometimes, when I add a new line inside a parenthesis, haskell’s highlighters are doing weird auto-align stuff. Is it expected behaviour ? https://asciinema.org/a/HzUwTyWfOvlAnk2VHyEnmilPV

---

## [Kakoune-racket.kak | racket.kak filetype | Racket v.7.8](https://discuss.kakoune.com/t/kakoune-racket-kak-racket-kak-filetype-racket-v-7-8/1273)

<div class="topic-metadata">

**Author:** [@duncan](https://discuss.kakoune.com/u/duncan)\
**Replies:** 4\
**Last updated:** [September 23, 2020, 11:13pm UTC](https://discuss.kakoune.com/t/kakoune-racket-kak-racket-kak-filetype-racket-v-7-8/1273 "2020-09-23T23:13:42Z")

</div>

kakoune-racket.kak Racket support for the Kakoune editor. Install $ mv racket.kak ~/.config/kak/autoload/ plug.kak plug "KJ\_Duncan/kakoune-racket.kak" domain "bitbucket.org" Supported file extensions: (rkt|rktd|…

---

## [Issue with ms python language server and kak-lsp](https://discuss.kakoune.com/t/issue-with-ms-python-language-server-and-kak-lsp/1234)

<div class="topic-metadata">

**Author:** [@skewballfox](https://discuss.kakoune.com/u/skewballfox)\
**Replies:** 2\
**Last updated:** [August 26, 2020, 9:10pm UTC](https://discuss.kakoune.com/t/issue-with-ms-python-language-server-and-kak-lsp/1234 "2020-08-26T21:10:38Z")

</div>

I would open an issue with kak-lsp or the language server but I’m having trouble figuring out what the issue even is. I’m trying to switch from palantir’s python language server to microsoft’s after multiple issues with…

---

## [Double expansion/expansion inside an expansion?](https://discuss.kakoune.com/t/double-expansion-expansion-inside-an-expansion/1209)

<div class="topic-metadata">

**Author:** [@ldld](https://discuss.kakoune.com/u/ldld)\
**Replies:** 2\
**Last updated:** [August 14, 2020, 6:24am UTC](https://discuss.kakoune.com/t/double-expansion-expansion-inside-an-expansion/1209 "2020-08-14T06:24:53Z")

</div>

I am trying to use options with names depending on user input ( that is, argument to a command), since there is no arrays or other collection types in kakoune. So far I have been able to create such options with decla…

---

## [Linters with multiline output](https://discuss.kakoune.com/t/linters-with-multiline-output/1196)

<div class="topic-metadata">

**Author:** [@brianhicks](https://discuss.kakoune.com/u/brianhicks)\
**Replies:** 0\
**Last updated:** [August 5, 2020, 7:24pm UTC](https://discuss.kakoune.com/t/linters-with-multiline-output/1196 "2020-08-05T19:24:27Z")

</div>

I’m trying to add :lint support for the Elm compiler. It has errors that look like this (for example when misspelling Int as It): I cannot find a \`It\` type: 16| one : It ^^ These names seem close though: …

---

## [\[ANN\] Coqoune](https://discuss.kakoune.com/t/ann-coqoune/1127)

<div class="topic-metadata">

**Author:** [@Guest0](https://discuss.kakoune.com/u/Guest0)\
**Replies:** 7\
**Last updated:** [July 14, 2020, 11:27am UTC](https://discuss.kakoune.com/t/ann-coqoune/1127 "2020-07-14T11:27:46Z")

</div>

I am glad to announce the first release of Coqoune, a kakoune plugin for the Coq proof assistant. Back to about three months ago kakoune had literally zero support for Coq… So I suppose few kakoune users use Coq, or eve…

---

## [Waiting for shell command to finish issue on writing a file](https://discuss.kakoune.com/t/waiting-for-shell-command-to-finish-issue-on-writing-a-file/1048)

<div class="topic-metadata">

**Author:** [@The-BigDaddy](https://discuss.kakoune.com/u/The-BigDaddy)\
**Replies:** 0\
**Last updated:** [May 31, 2020, 2:51am UTC](https://discuss.kakoune.com/t/waiting-for-shell-command-to-finish-issue-on-writing-a-file/1048 "2020-05-31T02:51:44Z")

</div>

This may be an issue with Kakoune or with kak-lsp. I don’t really know and I’m not sure what I could provide more information on this issue. On writing certain filetypes, Kakoune ends up hanging on waiting for shell com…

---

## [More things better](https://discuss.kakoune.com/t/more-things-better/1035)

<div class="topic-metadata">

**Author:** [@The-BigDaddy](https://discuss.kakoune.com/u/The-BigDaddy)\
**Replies:** 7\
**Last updated:** [May 28, 2020, 1:22am UTC](https://discuss.kakoune.com/t/more-things-better/1035 "2020-05-28T01:22:30Z")

</div>

Hello everyone! So I have more questions. Find and select files with FZF (not in Kakoune) I’m not referring to something like fzf.kak. I mean from your commandline like kak $(ls -R -i dir-pattern-to-ignore ~/path/to…

---

## [WinSetOption filetype=... doesn't seem to work for me](https://discuss.kakoune.com/t/winsetoption-filetype-doesnt-seem-to-work-for-me/921)

<div class="topic-metadata">

**Author:** [@brianhicks](https://discuss.kakoune.com/u/brianhicks)\
**Replies:** 3\
**Last updated:** [March 18, 2020, 3:03pm UTC](https://discuss.kakoune.com/t/winsetoption-filetype-doesnt-seem-to-work-for-me/921 "2020-03-18T15:03:11Z")

</div>

I’m trying to write something like: hook global WinSetOption filetype=nix %{ set-option buffer formatcmd nixfmt set-option buffer tabstop 2 set-option buffer softtabstop 2 echo "IT'S NIX!" } but this code never…

---

## [Kakoune-racket.kak - Racket language support](https://discuss.kakoune.com/t/kakoune-racket-kak-racket-language-support/383)

<div class="topic-metadata">

**Author:** [@duncan](https://discuss.kakoune.com/u/duncan)\
**Replies:** 8\
**Last updated:** [February 18, 2020, 4:14pm UTC](https://discuss.kakoune.com/t/kakoune-racket-kak-racket-language-support/383 "2020-02-18T16:14:32Z")

</div>

Syntax highlighting support for the Racket programming language. kakoune-racket.kak Variant of Scheme / Lisp with batteries included. Thanks guys.

---

## [How should indentation be implemented in kak?](https://discuss.kakoune.com/t/how-should-indentation-be-implemented-in-kak/873)

<div class="topic-metadata">

**Author:** [@Guest0](https://discuss.kakoune.com/u/Guest0)\
**Replies:** 19\
**Last updated:** [February 13, 2020, 12:36am UTC](https://discuss.kakoune.com/t/how-should-indentation-be-implemented-in-kak/873 "2020-02-13T00:36:40Z")

</div>

The OCaml language support of kak now is quite poor (with only an incomplete syntax highlighting) and I am willing to improve it. The common approach to OCaml integration in other editors is using merlin, a powerful sem…

---

## [Kakoune-kotlin.kak - Kotlin language support](https://discuss.kakoune.com/t/kakoune-kotlin-kak-kotlin-language-support/451)

<div class="topic-metadata">

**Author:** [@duncan](https://discuss.kakoune.com/u/duncan)\
**Replies:** 24\
**Last updated:** [February 1, 2020, 8:12pm UTC](https://discuss.kakoune.com/t/kakoune-kotlin-kak-kotlin-language-support/451 "2020-02-01T20:12:08Z")

</div>

Kotlin language support for the Kakoune editor. repo: kakoune-kotlin.kak See the repo directory kt/countWords.kt for demo on a kotlin integration with kak use-case. Thanks guys and enjoy. Update: kscript is now a …

---

## [Scdoc vs. asciidoc](https://discuss.kakoune.com/t/scdoc-vs-asciidoc/694)

<div class="topic-metadata">

**Author:** [@robertmeta](https://discuss.kakoune.com/u/robertmeta)\
**Replies:** 3\
**Last updated:** [August 26, 2019, 12:30pm UTC](https://discuss.kakoune.com/t/scdoc-vs-asciidoc/694 "2019-08-26T12:30:05Z")

</div>

https://drewdevault.com/2018/05/13/scdoc.html – possibly this would fit better with the goals of Kakoune?

---

## [Python bridge](https://discuss.kakoune.com/t/python-bridge/617)

<div class="topic-metadata">

**Author:** [@JJK96](https://discuss.kakoune.com/u/JJK96)\
**Replies:** 21\
**Last updated:** [July 7, 2019, 12:58pm UTC](https://discuss.kakoune.com/t/python-bridge/617 "2019-07-07T12:58:35Z")

</div>

This bridge runs a python shell in the background and can send selections through the shell. This way you can do calculations while keeping memory of previous variables, so this enables you to use variables in later calc…

---

## [Niche languages plugins](https://discuss.kakoune.com/t/niche-languages-plugins/639)

<div class="topic-metadata">

**Author:** [@TeddyDD](https://discuss.kakoune.com/u/TeddyDD)\
**Replies:** 6\
**Last updated:** [July 6, 2019, 7:37pm UTC](https://discuss.kakoune.com/t/niche-languages-plugins/639 "2019-07-06T19:37:46Z")

</div>

I have soft spot on niche languages. Since creating basic language support plugin is easy in Kakoune I went ahead and wrote these plugins. I don’t think they deserve separate threads. Mint Mint is strict language for wr…

---

## [New mac os removes Perl?](https://discuss.kakoune.com/t/new-mac-os-removes-perl/612)

<div class="topic-metadata">

**Author:** [@andreyorst](https://discuss.kakoune.com/u/andreyorst)\
**Replies:** 1\
**Last updated:** [June 20, 2019, 9:03pm UTC](https://discuss.kakoune.com/t/new-mac-os-removes-perl/612 "2019-06-20T21:03:44Z")

</div>

https://developer.apple.com/documentation/macos\_release\_notes/macos\_10\_15\_beta\_release\_notes Didn’t check full info about this beta release note, but it seems that in newer operating system from apple some scripting lan…

[Previous page](https://discuss.kakoune.com/tag/language/17.md?match_all_tags=true&tags%5B%5D=language)

[Next page](https://discuss.kakoune.com/tag/language/17.md?match_all_tags=true&page=2&tags%5B%5D=language)
