pyrefly in, clang formatter
This commit is contained in:
@@ -0,0 +1,7 @@
|
|||||||
|
return {
|
||||||
|
'ray-x/telescope-ast-grep.nvim',
|
||||||
|
dependencies = {
|
||||||
|
{ 'nvim-lua/plenary.nvim' },
|
||||||
|
{ 'nvim-telescope/telescope.nvim' },
|
||||||
|
},
|
||||||
|
}
|
||||||
@@ -25,6 +25,7 @@ return { -- Autoformat
|
|||||||
end,
|
end,
|
||||||
formatters_by_ft = {
|
formatters_by_ft = {
|
||||||
lua = { 'stylua' },
|
lua = { 'stylua' },
|
||||||
|
c = { 'clang-format' },
|
||||||
-- Conform can also run multiple formatters sequentially
|
-- Conform can also run multiple formatters sequentially
|
||||||
-- python = { "isort", "black" },
|
-- python = { "isort", "black" },
|
||||||
--
|
--
|
||||||
|
|||||||
@@ -157,7 +157,7 @@ return { -- LSP Configuration & Plugins
|
|||||||
local servers = {
|
local servers = {
|
||||||
clangd = {},
|
clangd = {},
|
||||||
gopls = {},
|
gopls = {},
|
||||||
pyright = {},
|
pyrefly = {},
|
||||||
rust_analyzer = {},
|
rust_analyzer = {},
|
||||||
markdownlint = {},
|
markdownlint = {},
|
||||||
-- ... etc. See `:help lspconfig-all` for a list of all the pre-configured LSPs
|
-- ... etc. See `:help lspconfig-all` for a list of all the pre-configured LSPs
|
||||||
|
|||||||
Reference in New Issue
Block a user