diff --git a/config/plugins/lsp/none-ls.nix b/config/plugins/lsp/none-ls.nix deleted file mode 100644 index d7c4245..0000000 --- a/config/plugins/lsp/none-ls.nix +++ /dev/null @@ -1,50 +0,0 @@ -{ - plugins.none-ls = { - enable = true; - enableLspFormat = true; - updateInInsert = false; - sources = { - code_actions = { - gitsigns.enable = true; - statix.enable = true; - }; - diagnostics = { - statix.enable = true; - yamllint.enable = true; - }; - formatting = { - alejandra.enable = true; - black = { - enable = true; - withArgs = '' - { - extra_args = { "--fast" }, - } - ''; - }; - prettier = { - enable = true; - disableTsServerFormatter = true; - withArgs = '' - { - extra_args = { "--no-semi", "--single-quote" }, - } - ''; - }; - stylua.enable = true; - yamlfmt.enable = true; - }; - }; - }; - keymaps = [ - { - mode = ["n" "v"]; - key = "cf"; - action = "lua vim.lsp.buf.format()"; - options = { - silent = true; - desc = "Format"; - }; - } - ]; -}