Format workspace with CodeFormat

This commit is contained in:
2023-09-02 17:29:59 +02:00
parent 214ffd053d
commit ae3bc212a9
63 changed files with 1205 additions and 1061 deletions
+31 -31
View File
@@ -18,16 +18,16 @@ vim.g.symbols_outline = {
highlight_hovered_item = true,
show_guides = true,
auto_preview = true,
position = 'left',
position = "left",
relative_width = true,
width = 25,
auto_close = false,
show_numbers = true,
show_relative_numbers = true,
show_symbol_details = true,
preview_bg_highlight = 'Pmenu',
preview_bg_highlight = "Pmenu",
keymaps = { -- These keymaps can be a string or a table for multiple keys
close = {"<Esc>", "q"},
close = { "<Esc>", "q", },
goto_location = "<Cr>",
focus_location = "o",
hover_symbol = "<C-space>",
@@ -38,32 +38,32 @@ vim.g.symbols_outline = {
lsp_blacklist = {},
symbol_blacklist = {},
symbols = {
File = {icon = "", hl = "TSURI"},
Module = {icon = "", hl = "TSNamespace"},
Namespace = {icon = "", hl = "TSNamespace"},
Package = {icon = "", hl = "TSNamespace"},
Class = {icon = "𝓒", hl = "TSType"},
Method = {icon = "ƒ", hl = "TSMethod"},
Property = {icon = "", hl = "TSMethod"},
Field = {icon = "", hl = "TSField"},
Constructor = {icon = "", hl = "TSConstructor"},
Enum = {icon = "", hl = "TSType"},
Interface = {icon = "", hl = "TSType"},
Function = {icon = "", hl = "TSFunction"},
Variable = {icon = "", hl = "TSConstant"},
Constant = {icon = "", hl = "TSConstant"},
String = {icon = "𝓐", hl = "TSString"},
Number = {icon = "#", hl = "TSNumber"},
Boolean = {icon = "", hl = "TSBoolean"},
Array = {icon = "", hl = "TSConstant"},
Object = {icon = "⦿", hl = "TSType"},
Key = {icon = "🔐", hl = "TSType"},
Null = {icon = "NULL", hl = "TSType"},
EnumMember = {icon = "", hl = "TSField"},
Struct = {icon = "𝓢", hl = "TSType"},
Event = {icon = "🗲", hl = "TSType"},
Operator = {icon = "+", hl = "TSOperator"},
TypeParameter = {icon = "𝙏", hl = "TSParameter"}
}
File = { icon = "", hl = "TSURI", },
Module = { icon = "", hl = "TSNamespace", },
Namespace = { icon = "", hl = "TSNamespace", },
Package = { icon = "", hl = "TSNamespace", },
Class = { icon = "𝓒", hl = "TSType", },
Method = { icon = "ƒ", hl = "TSMethod", },
Property = { icon = "", hl = "TSMethod", },
Field = { icon = "", hl = "TSField", },
Constructor = { icon = "", hl = "TSConstructor", },
Enum = { icon = "", hl = "TSType", },
Interface = { icon = "", hl = "TSType", },
Function = { icon = "", hl = "TSFunction", },
Variable = { icon = "", hl = "TSConstant", },
Constant = { icon = "", hl = "TSConstant", },
String = { icon = "𝓐", hl = "TSString", },
Number = { icon = "#", hl = "TSNumber", },
Boolean = { icon = "", hl = "TSBoolean", },
Array = { icon = "", hl = "TSConstant", },
Object = { icon = "⦿", hl = "TSType", },
Key = { icon = "🔐", hl = "TSType", },
Null = { icon = "NULL", hl = "TSType", },
EnumMember = { icon = "", hl = "TSField", },
Struct = { icon = "𝓢", hl = "TSType", },
Event = { icon = "🗲", hl = "TSType", },
Operator = { icon = "+", hl = "TSOperator", },
TypeParameter = { icon = "𝙏", hl = "TSParameter", },
},
}
vim.api.nvim_set_keymap('n', '<leader>o', ':SymbolsOutlineOpen<CR>', { noremap = true, silent = true })
vim.api.nvim_set_keymap("n", "<leader>o", ":SymbolsOutlineOpen<CR>", { noremap = true, silent = true, })