mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-06-21 08:35:48 +02:00
enc: java default cconfig
This commit is contained in:
parent
f0f7958de7
commit
cecf29d7db
9 changed files with 247 additions and 73 deletions
|
@ -3,6 +3,15 @@ local M = {}
|
|||
-- local file_name_no_ext = vim.fn.expand("%:t:r")
|
||||
if pcode.active_cpp_config then
|
||||
M = {
|
||||
{
|
||||
"nvimtools/none-ls.nvim",
|
||||
optional = true,
|
||||
opts = function(_, opts)
|
||||
local nls = require("null-ls")
|
||||
opts.sources = opts.sources or {}
|
||||
table.insert(opts.sources, nls.builtins.formatting.clang_format.with({ filetypes = { "cpp", "c" } }))
|
||||
end,
|
||||
},
|
||||
{
|
||||
"nvim-neotest/neotest",
|
||||
ft = { "cpp" },
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue