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({ require("conform").setup({
formatters_by_ft = { formatters_by_ft = {
lua = { "stylua" }, lua = { "stylua" },
nix = { "nixfmt" },
python = function(bufnr) python = function(bufnr)
if require("conform").get_formatter_info("ruff_format", bufnr).available then if require("conform").get_formatter_info("ruff_format", bufnr).available then
return { "ruff_fix", "ruff_format" } return { "ruff_fix", "ruff_format" }

View file

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