use ruff as lsp
This commit is contained in:
parent
d42f6224f2
commit
e20bac869b
@ -1,9 +1,11 @@
|
|||||||
{
|
{
|
||||||
"coc.preferences.extensionUpdateCheck": "daily",
|
"coc.preferences.extensionUpdateCheck": "daily",
|
||||||
"workspace.ignoredFolders": [
|
"workspace.ignoredFolders": [
|
||||||
"$HOME",
|
"$HOME",
|
||||||
"$HOME/.cargo/**",
|
"$HOME/.cargo/**",
|
||||||
"$HOME/.rustup/**"
|
"$HOME/.rustup/**"
|
||||||
],
|
],
|
||||||
"rust-analyzer.server.path": "rust-analyzer"
|
"rust-analyzer.server.path": "rust-analyzer",
|
||||||
|
"ruff.nativeServer": true,
|
||||||
|
"ruff.nativeBinaryPath": "/usr/bin/ruff"
|
||||||
}
|
}
|
||||||
|
@ -65,7 +65,8 @@ require'nvim-treesitter.configs'.setup {
|
|||||||
}
|
}
|
||||||
|
|
||||||
-- Install coc extensions
|
-- Install coc extensions
|
||||||
vim.g.coc_global_extensions = {'coc-json', 'coc-lua', 'coc-pyright', 'coc-rust-analyzer', 'coc-yaml', 'coc-eslint'}
|
vim.g.coc_global_extensions = {'coc-json', 'coc-lua', 'coc-rust-analyzer',
|
||||||
|
'coc-yaml', 'coc-eslint', '@yaegassy/coc-ruff'}
|
||||||
|
|
||||||
-- Turn on nice things
|
-- Turn on nice things
|
||||||
vim.opt.clipboard = "unnamedplus"
|
vim.opt.clipboard = "unnamedplus"
|
||||||
|
Loading…
Reference in New Issue
Block a user