summaryrefslogtreecommitdiff
path: root/.config/nvim/language-settings.lua
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim/language-settings.lua')
-rw-r--r--.config/nvim/language-settings.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/.config/nvim/language-settings.lua b/.config/nvim/language-settings.lua
index 54e98b2..c768737 100644
--- a/.config/nvim/language-settings.lua
+++ b/.config/nvim/language-settings.lua
@@ -17,6 +17,9 @@ O.python.diagnostics.virtual_text = true
O.python.diagnostics.signs = true
O.python.diagnostics.underline = true
+-- go
+O.go.autoformat = true
+
-- lua
O.lua.formatter = 'lua-format'
O.lua.autoformat = false