uncommented some stuff
This commit is contained in:
parent
ab1c35c00d
commit
5619763708
8
init.lua
8
init.lua
|
|
@ -707,7 +707,7 @@ do
|
|||
local path = client.workspace_folders[1].name
|
||||
if path ~= vim.fn.stdpath 'config' and (vim.uv.fs_stat(path .. '/.luarc.json') or vim.uv.fs_stat(path .. '/.luarc.jsonc')) then return end
|
||||
end
|
||||
|
||||
---@diag-disable-next-line: assign-type-mismatch
|
||||
client.config.settings.Lua = vim.tbl_deep_extend('force', client.config.settings.Lua, {
|
||||
runtime = {
|
||||
version = 'LuaJIT',
|
||||
|
|
@ -777,7 +777,7 @@ do
|
|||
local enabled_filetypes = {
|
||||
-- lua = true,
|
||||
-- python = true,
|
||||
cpp = true;
|
||||
cpp = true,
|
||||
}
|
||||
if enabled_filetypes[vim.bo[bufnr].filetype] then
|
||||
return { timeout_ms = 500 }
|
||||
|
|
@ -796,8 +796,8 @@ do
|
|||
--
|
||||
-- You can use 'stop_after_first' to run the first available formatter from the list
|
||||
-- javascript = { "prettierd", "prettier", stop_after_first = true },
|
||||
cpp = {"clang-format"},
|
||||
c = {"clang-format"},
|
||||
cpp = { 'clang-format' },
|
||||
c = { 'clang-format' },
|
||||
},
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue