summary refs log tree commit diff
path: root/.vim/ftplugin/go.lua
diff options
context:
space:
mode:
Diffstat (limited to '.vim/ftplugin/go.lua')
-rw-r--r--.vim/ftplugin/go.lua16
1 files changed, 0 insertions, 16 deletions
diff --git a/.vim/ftplugin/go.lua b/.vim/ftplugin/go.lua
deleted file mode 100644
index 74d6bf1..0000000
--- a/.vim/ftplugin/go.lua
+++ /dev/null
@@ -1,16 +0,0 @@
-local g = vim.g
-
--- local eval = vim.api.nvim_eval
--- if eval("exists('g:loaded_neomake')") then
---   g.neomake_go_build_maker = {
---     exe = 'go',
---     args = 'build',
---     append_file = 0,
---   }
---   g.neomake_go_enabled_makers = { 'go', 'golangci_lint' }
--- end
-
-require('utils').augroup2 {
-  neoformat_go = {{ 'BufWritePre', '*.go', 
-    'try | undojoin | Neoformat | catch | echoerr Neoformat\\ failed | endtry' }}
-}