From 3903208527be0fe97bae1846b0c0e97986945b1c Mon Sep 17 00:00:00 2001 From: Marto Date: Tue, 28 Jan 2025 15:35:49 +0100 Subject: [PATCH] zig addtitions --- init.lua | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/init.lua b/init.lua index 4eae8e7d..5a9fde16 100644 --- a/init.lua +++ b/init.lua @@ -627,6 +627,9 @@ require('lazy').setup({ -- -- But for many setups, the LSP (`ts_ls`) will work just fine -- ts_ls = {}, + zls = { + cmd = { '/home/marto/zig/zls-0.13.0/zls' }, + }, -- lua_ls = { @@ -713,6 +716,7 @@ require('lazy').setup({ end, formatters_by_ft = { lua = { 'stylua' }, + zig = { 'zig fmt' }, -- Conform can also run multiple formatters sequentially -- python = { "isort", "black" }, -- @@ -834,6 +838,10 @@ require('lazy').setup({ { name = 'luasnip' }, { name = 'path' }, }, + window = { + completion = { border = 'rounded' }, + documentation = { border = 'rounded' }, + }, } end, }, @@ -931,11 +939,11 @@ require('lazy').setup({ -- Here are some example plugins that I've included in the Kickstart repository. -- Uncomment any of the lines below to enable them (you will need to restart nvim). -- - -- require 'kickstart.plugins.debug', + require 'kickstart.plugins.debug', -- require 'kickstart.plugins.indent_line', -- require 'kickstart.plugins.lint', - -- require 'kickstart.plugins.autopairs', - -- require 'kickstart.plugins.neo-tree', + require 'kickstart.plugins.autopairs', + require 'kickstart.plugins.neo-tree', -- require 'kickstart.plugins.gitsigns', -- adds gitsigns recommend keymaps -- NOTE: The import below can automatically add your own plugins, configuration, etc from `lua/custom/plugins/*.lua`