Add param to InitRuntimeFiles() to init built-in files only

This commit is contained in:
Dmytro Maluka
2024-04-03 03:41:06 +02:00
parent d67ce731ed
commit baca0e5cb2
7 changed files with 13 additions and 9 deletions

View File

@@ -20,7 +20,7 @@ func (b *Buffer) SetOptionNative(option string, nativeValue interface{}) error {
} else if option == "statusline" {
screen.Redraw()
} else if option == "filetype" {
config.InitRuntimeFiles()
config.InitRuntimeFiles(true)
err := config.ReadSettings()
if err != nil {
screen.TermMessage(err)