From 1df6a2734456f15ce614d3ee331a4097f1fefd58 Mon Sep 17 00:00:00 2001 From: mjhika <1zzt6ovh@mojica.anonaddy.com> Date: Tue, 26 Sep 2023 12:53:20 -0400 Subject: [PATCH] add zig --- init.lua | 3 ++- lua/custom/plugins/zig.lua | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 lua/custom/plugins/zig.lua diff --git a/init.lua b/init.lua index 26f69b72..3256ba8b 100644 --- a/init.lua +++ b/init.lua @@ -171,7 +171,7 @@ require('nvim-treesitter.configs').setup { 'c', 'go', 'gomod', 'gosum', 'gowork', 'lua', 'vimdoc', 'vim', 'clojure', - 'commonlisp', 'ocaml' }, + 'commonlisp', 'ocaml', 'zig' }, -- Autoinstall languages that are not installed. Defaults to false (but you can change for yourself!) auto_install = true, @@ -294,6 +294,7 @@ local servers = { -- html = { filetypes = { 'html', 'twig', 'hbs'} }, clojure_lsp = {}, ocamllsp = {}, + zls = {}, lua_ls = { Lua = { workspace = { checkThirdParty = false }, diff --git a/lua/custom/plugins/zig.lua b/lua/custom/plugins/zig.lua new file mode 100644 index 00000000..ec57c313 --- /dev/null +++ b/lua/custom/plugins/zig.lua @@ -0,0 +1,3 @@ +return { + "ziglang/zig.vim" +}