From 5442a73c89a6f903e5aeecd831777085a64184b0 Mon Sep 17 00:00:00 2001 From: "Kenneth Benzie (Benie)" Date: Tue, 14 May 2024 21:41:59 +0100 Subject: [PATCH] Add go ftplugin --- after/ftplugin/go.lua | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 after/ftplugin/go.lua diff --git a/after/ftplugin/go.lua b/after/ftplugin/go.lua new file mode 100644 index 0000000..d86ae5b --- /dev/null +++ b/after/ftplugin/go.lua @@ -0,0 +1,5 @@ +vim.opt.expandtab = false +vim.opt.tabstop = 4 +vim.opt.shiftwidth = 4 +vim.opt.softtabstop = 4 +vim.wo.listchars = 'extends:»,nbsp:⦸,precedes:«,tab: ,trail:·'