[feat] Finalize hyprland config and add pkgs.nixpkgs-fmt
This commit is contained in:
@@ -34,5 +34,17 @@ require("mason-lspconfig").setup_handlers {
|
||||
root_dir = lspconfig.util.root_pattern("compile_commands.json", "compile_flags.txt", ".git"),
|
||||
single_file_support = true,
|
||||
}
|
||||
end,
|
||||
['nil_ls'] = function()
|
||||
lspconfig.nil_ls.setup {
|
||||
capabilities = capabilities,
|
||||
settings = {
|
||||
['nil'] = {
|
||||
formatting = {
|
||||
command = { "nixpkgs-fmt" },
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
end
|
||||
}
|
||||
|
||||
@@ -26,7 +26,11 @@ return require('lazy').setup({
|
||||
"Glow"
|
||||
},
|
||||
'samoshkin/vim-mergetool',
|
||||
'mhartington/formatter.nvim',
|
||||
{
|
||||
cmd = { "Format", "FormatWrite" },
|
||||
'mhartington/formatter.nvim'
|
||||
|
||||
},
|
||||
-- 'christianrondeau/vim-base64',
|
||||
|
||||
{ 'tpope/vim-commentary', lazy = false },
|
||||
|
||||
Reference in New Issue
Block a user