From 1387429c477696a9e7320e6539f35decb59da30a Mon Sep 17 00:00:00 2001 From: anth64 Date: Mon, 5 May 2025 21:54:16 +0200 Subject: [PATCH] added configuration for lua --- .editorconfig | 3 --- after/ftplugin/lua.lua | 3 +++ 2 files changed, 3 insertions(+), 3 deletions(-) delete mode 100644 .editorconfig create mode 100644 after/ftplugin/lua.lua diff --git a/.editorconfig b/.editorconfig deleted file mode 100644 index 9a6cc75..0000000 --- a/.editorconfig +++ /dev/null @@ -1,3 +0,0 @@ -[*.lua] -indent_style = space -indent_size = 2 diff --git a/after/ftplugin/lua.lua b/after/ftplugin/lua.lua new file mode 100644 index 0000000..30c5dde --- /dev/null +++ b/after/ftplugin/lua.lua @@ -0,0 +1,3 @@ +vim.opt_local.expandtab = true +vim.opt_local.shiftwidth = 2 +vim.opt_local.tabstop = 2