Skip to content
This repository was archived by the owner on Jan 3, 2024. It is now read-only.
This repository was archived by the owner on Jan 3, 2024. It is now read-only.

How to eliminate the indent (two spaces) on the left side? #165

@zjp-CN

Description

@zjp-CN
require "symbols-outline".setup {
  fold_markers = { '', '' },
  width = 35,
  symbols = {
    File = { icon = "File", hl = "TSURI" },
    Module = { icon = "Mod", hl = "TSNamespace" },
    Namespace = { icon = "Name", hl = "TSNamespace" },
    Package = { icon = "Pack", hl = "TSNamespace" },
    Class = { icon = "Class", hl = "TSType" },
    Method = { icon = "ƒ", hl = "TSMethod" },
    Property = { icon = "Property", hl = "TSMethod" },
    Field = { icon = "Field", hl = "TSField" },
    Constructor = { icon = "Constructor", hl = "TSConstructor" },
    Enum = { icon = "Enum", hl = "TSType" },
    Interface = { icon = "Interface", hl = "TSType" },
    Function = { icon = "f", hl = "TSFunction" },
    Variable = { icon = "var", hl = "TSConstant" },
    Constant = { icon = "const", hl = "TSConstant" },
    String = { icon = "string", hl = "TSString" },
    Number = { icon = "#", hl = "TSNumber" },
    Boolean = { icon = "bool", hl = "TSBoolean" },
    Array = { icon = "[]", hl = "TSConstant" },
    Object = { icon = "obj", hl = "TSType" },
    Key = { icon = "key", hl = "TSType" },
    Null = { icon = "NULL", hl = "TSType" },
    EnumMember = { icon = "variant", hl = "TSField" },
    Struct = { icon = "struct", hl = "TSType" },
    Event = { icon = "event", hl = "TSType" },
    Operator = { icon = "op", hl = "TSOperator" },
    TypeParameter = { icon = "T", hl = "TSParameter" }
  }
}

image

BTW This is a great tool!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions