kakoune/rc/detection
Johannes Altmanninger 62bd1af3f0 rc modeline: fix error trying to write readonly global variable
When running modeline-parse on this file:

	# kakoune: filetype=ledger:indentwidth=4

I get this error from dash (and a similar one from bash):

	sh: 53: readonly: key: is read only

This is because the readonly variable "key" is used elsewhere, both
times as global. Fix this by making both variables local. While
at it, remove an unused variable.

Fixes #4478
2022-10-17 19:23:30 +02:00
..
editorconfig.kak Move user mappings to <space> and keep/remove selection to , 2022-07-05 08:43:40 +10:00
file.kak rc file-detection hook group 2022-04-20 23:11:10 -03:00
modeline.kak rc modeline: fix error trying to write readonly global variable 2022-10-17 19:23:30 +02:00