nvimtools / none-ls.nvim

null-ls.nvim reloaded / Use Neovim as a language server to inject LSP diagnostics, code actions, and more via Lua.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

how to solve failed to load buitlin ruff for mathod diagnosics pls chack your config

sachinchaudhary1808 opened this issue · comments

FAQ

  • I have checked the FAQ and it didn't resolve my problem.

Issues

  • I have checked existing issues and there are no issues with the same problem.

Neovim Version

0.10

Dev Version?

  • I am using a stable Neovim release version, or if I am using a dev version of Neovim I have confirmed that my issue is reproducible on a stable version.

Operating System

nixos

Minimal Config

local null_ls = require("null-ls")

null_ls.setup({
	sources = {
		null_ls.builtins.formatting.stylua,
		null_ls.builtins.completion.spell,
		-- require("none-ls.diagnostics.eslint"), -- requires none-ls-extras.nvim
		null_ls.builtins.diagnostics.mypy,
		null_ls.builtins.diagnostics.ruff,
	},
})

vim.keymap.set("n", "<leader>=", vim.lsp.buf.format, { desc = "formattes code using none-ls" })

Steps to Reproduce

use the code above

Reproducibility Check

  • I confirm that my minimal config is based on the minimal_init.lua template and that my issue is reproducible by running nvim --clean -u minimal_init.lua and following the steps above.

Expected Behavior

so like i use nix as pkg manager i searched about this issue on web and they said i need some exra thing which is not in nixpkgs

Actual Behavior

above

Debug Log

i think we don't need that

Help

No

Implementation Help

add that plugin into nixpkgs or help me

Requirements

  • I have read and followed the instructions above and understand that my issue will be closed if I did not provide the required information.

i'm so stupid sorry