Documentation
¶
Index ¶
Constants ¶
View Source
const ( DEFAULT_TABSIZE = 4 DEFAULT_TABSPACES = true )
Variables ¶
View Source
var CONFFILES = getConfigFiles()
View Source
var IGNOREDIRS = map[string]bool{ ".git": true, "node_modules": true, "__pycache__": true, ".cache": true, }
View Source
var MAXFILES = 50_000
View Source
var STYLE_DEFAULT = tcell.StyleDefault
View Source
var WARNFILESZ = int64(10_485_760)
View Source
var WORD_DELIMS = " \t=&|,./(){}[]#+*%'-:?!'\""
Functions ¶
func GetIgnoreDirsFlat ¶
func GetIgnoreDirsFlat() string
func HandleConfigFile ¶
func HandleConfigFile()
func SetConfigFile ¶
func SetConfigFile(fn string)
func SetIgnoreDirs ¶
func SetIgnoreDirs(rawdirs string)
Types ¶
type EditorConfig ¶
type EditorConfig struct { TabSize int TabSpaces bool SaveHook []string HighlightPatterns []HighlightPattern HighlightKeywords []HighlightKeyword }
func GetEditorConfig ¶
func GetEditorConfig(fpath string) *EditorConfig
type HighlightKeyword ¶
type HighlightKeyword struct { Keyword string Style tcell.Style }
type HighlightPattern ¶
Click to show internal directories.
Click to hide internal directories.