+nvim nixd

This commit is contained in:
m3tam3re 2024-10-14 11:57:04 +02:00
parent d77210bbcb
commit 78c51f3e8f

View File

@ -555,7 +555,6 @@ require('lazy').setup({
-- - settings (table): Override the default settings passed when initializing the server.
-- For example, to see the options for `lua_ls`, you could go to: https://luals.github.io/wiki/settings/
local servers = {
nixd = {},
-- clangd = {},
-- gopls = {},
-- pyright = {},
@ -604,7 +603,7 @@ require('lazy').setup({
--
-- You can press `g?` for help in this menu
require('mason').setup()
require('lspconfig').nixd.setup {}
-- You can add other tools here that you want Mason to install
-- for you, so that they are available from within Neovim.
local ensure_installed = vim.tbl_keys(servers or {})
@ -638,7 +637,7 @@ require('lazy').setup({
},
formatters_by_ft = {
lua = { 'stylua' },
nix = { 'nixfmt' },
nix = { 'alejandra -q -' },
-- Conform can also run multiple formatters sequentially
-- python = { "isort", "black" },
--