nix lsp update #10
2 changed files with 2 additions and 1 deletions
|
@ -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" }
|
||||||
|
|
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue