fix clangd

This commit is contained in:
Kristofers Solo 2023-04-20 17:19:16 +03:00
parent 83419bd30d
commit b8ac76361c

View File

@ -3,6 +3,7 @@ return {
capabilities = { capabilities = {
offsetEncoding = { "utf-16" }, offsetEncoding = { "utf-16" },
}, },
on_attach = require("user.mason.handlers").on_attach,
}, },
extensions = { extensions = {
-- defaults: -- defaults:
@ -25,7 +26,7 @@ return {
-- prefix for all the other hints (type, chaining) -- prefix for all the other hints (type, chaining)
other_hints_prefix = "=> ", other_hints_prefix = "=> ",
-- whether to align to the length of the longest line in the file -- whether to align to the length of the longest line in the file
max_len_align = false, max_len_align = true,
-- padding from the left if max_len_align is true -- padding from the left if max_len_align is true
max_len_align_padding = 1, max_len_align_padding = 1,
-- whether to align to the extreme right or not -- whether to align to the extreme right or not
@ -38,24 +39,6 @@ return {
priority = 100, priority = 100,
}, },
ast = { ast = {
-- -- These are unicode, should be available in any font
-- role_icons = {
-- type = "🄣",
-- declaration = "🄓",
-- expression = "🄔",
-- statement = ";",
-- specifier = "🄢",
-- ["template argument"] = "🆃",
-- },
-- kind_icons = {
-- Compound = "🄲",
-- Recovery = "🅁",
-- TranslationUnit = "🅄",
-- PackExpansion = "🄿",
-- TemplateTypeParm = "🅃",
-- TemplateTemplateParm = "🅃",
-- TemplateParamObject = "🅃",
-- },
-- These require codicons (https://github.com/microsoft/vscode-codicons) -- These require codicons (https://github.com/microsoft/vscode-codicons)
role_icons = { role_icons = {
type = "", type = "",
@ -65,7 +48,6 @@ return {
statement = "", statement = "",
["template argument"] = "", ["template argument"] = "",
}, },
kind_icons = { kind_icons = {
Compound = "", Compound = "",
Recovery = "", Recovery = "",