Kakoune restructure

This commit is contained in:
2026-08-27 13:44:15 +02:00
parent d984cbb7af
commit 5ee19b70c5
21 changed files with 213 additions and 56 deletions
+6
View File
@@ -0,0 +1,6 @@
define-command -hidden -override filetype-css %{
set-option window tabstop 2
set-option window indentwidth 2
}
hook global WinSetOption filetype=css %{ filetype-css }
+7
View File
@@ -0,0 +1,7 @@
define-command -hidden -override filetype-go %{
set-option window tabstop 4
set-option window indentwidth 0
set-option window formatcmd 'gofmt'
}
hook global WinSetOption filetype=go %{ filetype-go }
+6
View File
@@ -0,0 +1,6 @@
define-command -hidden -override filetype-html %{
set-option window tabstop 2
set-option window indentwidth 2
}
hook global WinSetOption filetype=html %{ filetype-html }
+6
View File
@@ -0,0 +1,6 @@
define-command -hidden -override filetype-javascript %{
set-option window tabstop 2
set-option window indentwidth 2
}
hook global WinSetOption filetype=javascript %{ filetype-javascript }
+6
View File
@@ -0,0 +1,6 @@
define-command -hidden -override filetype-json %{
set-option window tabstop 2
set-option window indentwidth 2
}
hook global WinSetOption filetype=json %{ filetype-json }
+6
View File
@@ -0,0 +1,6 @@
define-command -hidden -override filetype-markdown %{
set-option window tabstop 2
set-option window indentwidth 2
}
hook global WinSetOption filetype=markdown %{ filetype-markdown }
+6
View File
@@ -0,0 +1,6 @@
define-command -hidden -override filetype-python %{
set-option window tabstop 4
set-option window indentwidth 4
}
hook global WinSetOption filetype=python %{ filetype-python }
+7
View File
@@ -0,0 +1,7 @@
define-command -hidden -override filetype-rust %{
set-option window tabstop 4
set-option window indentwidth 4
set-option window formatcmd 'rustfmt --edition 2021'
}
hook global WinSetOption filetype=rust %{ filetype-rust }
+6
View File
@@ -0,0 +1,6 @@
define-command -hidden -override filetype-scss %{
set-option window tabstop 2
set-option window indentwidth 2
}
hook global WinSetOption filetype=scss %{ filetype-scss }
+6
View File
@@ -0,0 +1,6 @@
define-command -hidden -override filetype-sh %{
set-option window tabstop 4
set-option window indentwidth 4
}
hook global WinSetOption filetype=sh %{ filetype-sh }
+6
View File
@@ -0,0 +1,6 @@
define-command -hidden -override filetype-toml %{
set-option window tabstop 2
set-option window indentwidth 2
}
hook global WinSetOption filetype=toml %{ filetype-toml }
+6
View File
@@ -0,0 +1,6 @@
define-command -hidden -override filetype-yaml %{
set-option window tabstop 2
set-option window indentwidth 2
}
hook global WinSetOption filetype=yaml %{ filetype-yaml }