zig addtitions
This commit is contained in:
parent
5bdde24dfb
commit
3903208527
14
init.lua
14
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`
|
||||
|
Loading…
x
Reference in New Issue
Block a user