Merge pull request 'nix lsp update' (#10) from nix-updates into main

Reviewed-on: #10
This commit is contained in:
Salar Rahmanian 2024-06-07 23:19:08 -07:00
commit fed5967077
2 changed files with 2 additions and 1 deletions

View file

@ -4,6 +4,7 @@ return {
require("conform").setup({
formatters_by_ft = {
lua = { "stylua" },
nix = { "nixfmt" },
python = function(bufnr)
if require("conform").get_formatter_info("ruff_format", bufnr).available then
return { "ruff_fix", "ruff_format" }

View file

@ -74,6 +74,7 @@ return {
jqls = {},
jsonls = {},
marksman = {},
nil_ls = {},
pyright = {
python = {
analysis = {
@ -83,7 +84,6 @@ return {
},
},
},
rnix = {},
rust_analyzer = {
diagnostics = {
enable = true,