diff --git a/lua/custom/plugins/ast-grep.lua b/lua/custom/plugins/ast-grep.lua new file mode 100644 index 0000000..89711f5 --- /dev/null +++ b/lua/custom/plugins/ast-grep.lua @@ -0,0 +1,7 @@ +return { + 'ray-x/telescope-ast-grep.nvim', + dependencies = { + { 'nvim-lua/plenary.nvim' }, + { 'nvim-telescope/telescope.nvim' }, + }, +} diff --git a/lua/custom/plugins/conform.lua b/lua/custom/plugins/conform.lua index 1f16f07..86edc23 100644 --- a/lua/custom/plugins/conform.lua +++ b/lua/custom/plugins/conform.lua @@ -25,6 +25,7 @@ return { -- Autoformat end, formatters_by_ft = { lua = { 'stylua' }, + c = { 'clang-format' }, -- Conform can also run multiple formatters sequentially -- python = { "isort", "black" }, -- diff --git a/lua/custom/plugins/lsp-config.lua b/lua/custom/plugins/lsp-config.lua index 2659002..ee25efa 100644 --- a/lua/custom/plugins/lsp-config.lua +++ b/lua/custom/plugins/lsp-config.lua @@ -157,7 +157,7 @@ return { -- LSP Configuration & Plugins local servers = { clangd = {}, gopls = {}, - pyright = {}, + pyrefly = {}, rust_analyzer = {}, markdownlint = {}, -- ... etc. See `:help lspconfig-all` for a list of all the pre-configured LSPs