diff --git a/dot_config/nvim/coc-settings.json b/dot_config/nvim/coc-settings.json index fd28554..3422145 100644 --- a/dot_config/nvim/coc-settings.json +++ b/dot_config/nvim/coc-settings.json @@ -1,9 +1,11 @@ { - "coc.preferences.extensionUpdateCheck": "daily", - "workspace.ignoredFolders": [ - "$HOME", - "$HOME/.cargo/**", - "$HOME/.rustup/**" - ], - "rust-analyzer.server.path": "rust-analyzer" + "coc.preferences.extensionUpdateCheck": "daily", + "workspace.ignoredFolders": [ + "$HOME", + "$HOME/.cargo/**", + "$HOME/.rustup/**" + ], + "rust-analyzer.server.path": "rust-analyzer", + "ruff.nativeServer": true, + "ruff.nativeBinaryPath": "/usr/bin/ruff" } diff --git a/dot_config/nvim/init.lua b/dot_config/nvim/init.lua index d2ac12b..12039e4 100644 --- a/dot_config/nvim/init.lua +++ b/dot_config/nvim/init.lua @@ -65,7 +65,8 @@ require'nvim-treesitter.configs'.setup { } -- 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 vim.opt.clipboard = "unnamedplus"