write own statusline | remove feline

This commit is contained in:
siduck
2022-06-05 19:11:26 +05:30
parent 9e3a43302c
commit 48b1226961
7 changed files with 224 additions and 487 deletions

View File

@@ -9,36 +9,30 @@ local icons = require "plugins.configs.lspkind_icons"
local options = {
icons = {
["class-name"] = "%#CmpItemKindClass#" .. icons.Class .. "%*" .. " ",
["function-name"] = "%#CmpItemKindFunction#" .. icons.Function .. "%*" .. " ",
["method-name"] = "%#CmpItemKindMethod#" .. icons.Method .. "%*" .. " ",
["container-name"] = "%#CmpItemKindProperty#" .. icons.Object .. "%*" .. " ",
["tag-name"] = "%#CmpItemKindKeyword#" .. icons.Tag .. "%*" .. " ",
["mapping-name"] = "%#CmpItemKindProperty#" .. icons.Object .. "%*" .. " ",
["sequence-name"] = "%CmpItemKindProperty#" .. icons.Array .. "%*" .. " ",
["null-name"] = "%CmpItemKindField#" .. icons.Field .. "%*" .. " ",
["boolean-name"] = "%CmpItemKindValue#" .. icons.Boolean .. "%*" .. " ",
["integer-name"] = "%CmpItemKindValue#" .. icons.Number .. "%*" .. " ",
["float-name"] = "%CmpItemKindValue#" .. icons.Number .. "%*" .. " ",
["string-name"] = "%CmpItemKindValue#" .. icons.String .. "%*" .. " ",
["array-name"] = "%CmpItemKindProperty#" .. icons.Array .. "%*" .. " ",
["object-name"] = "%CmpItemKindProperty#" .. icons.Object .. "%*" .. " ",
["number-name"] = "%CmpItemKindValue#" .. icons.Number .. "%*" .. " ",
["table-name"] = "%CmpItemKindProperty#" .. icons.Table .. "%*" .. " ",
["date-name"] = "%CmpItemKindValue#" .. icons.Calendar .. "%*" .. " ",
["date-time-name"] = "%CmpItemKindValue#" .. icons.Table .. "%*" .. " ",
["inline-table-name"] = "%CmpItemKindProperty#" .. icons.Calendar .. "%*" .. " ",
["time-name"] = "%CmpItemKindValue#" .. icons.Watch .. "%*" .. " ",
["module-name"] = "%CmpItemKindModule#" .. icons.Module .. "%*" .. " ",
},
["lua"] = {
icons = {
["container-name"] = "%#CmpItemKindProperty#" .. icons.Table .. "%*" .. " ",
["mapping-name"] = "%#CmpItemKindProperty#" .. icons.Table .. "%*" .. " ",
["object-name"] = "%CmpItemKindProperty#" .. icons.Table .. "%*" .. " ",
},
["class-name"] = "%#GpsItemKindClass#" .. icons.Class .. "%*" .. " ",
["function-name"] = "%#GpsItemKindFunction#" .. icons.Function .. "%*" .. " ",
["method-name"] = "%#GpsItemKindMethod#" .. icons.Method .. "%*" .. " ",
["container-name"] = "%#GpsItemKindProperty#" .. icons.Object .. "%*" .. " ",
["tag-name"] = "%#GpsItemKindKeyword#" .. icons.Tag .. "%*" .. " ",
["mapping-name"] = "%#GpsItemKindProperty#" .. icons.Object .. "%*" .. " ",
["sequence-name"] = "%GpsItemKindProperty#" .. icons.Array .. "%*" .. " ",
["null-name"] = "%GpsItemKindField#" .. icons.Field .. "%*" .. " ",
["boolean-name"] = "%GpsItemKindValue#" .. icons.Boolean .. "%*" .. " ",
["integer-name"] = "%GpsItemKindValue#" .. icons.Number .. "%*" .. " ",
["float-name"] = "%GpsItemKindValue#" .. icons.Number .. "%*" .. " ",
["string-name"] = "%GpsItemKindValue#" .. icons.String .. "%*" .. " ",
["array-name"] = "%GpsItemKindProperty#" .. icons.Array .. "%*" .. " ",
["object-name"] = "%GpsItemKindProperty#" .. icons.Object .. "%*" .. " ",
["number-name"] = "%GpsItemKindValue#" .. icons.Number .. "%*" .. " ",
["table-name"] = "%GpsItemKindProperty#" .. icons.Table .. "%*" .. " ",
["date-name"] = "%GpsItemKindValue#" .. icons.Calendar .. "%*" .. " ",
["date-time-name"] = "%GpsItemKindValue#" .. icons.Table .. "%*" .. " ",
["inline-table-name"] = "%GpsItemKindProperty#" .. icons.Calendar .. "%*" .. " ",
["time-name"] = "%GpsItemKindValue#" .. icons.Watch .. "%*" .. " ",
["module-name"] = "%GpsItemKindModule#" .. icons.Module .. "%*" .. " ",
},
}
options = require("core.utils").load_override(options, "SmiteshP/nvim-gps")
gps.setup(options)