micro/internal/buffer
Zachary Yedidia a61616d79e More efficient loading for default syntax files
This change introduces header files for syntax files. The header
files only contain the filetype and detection info and can be
parsed much faster than parsing a full yaml file. To determine
which filetype a file is, only scanning the headers is necessary
and afterwards only one yaml file needs to be parsed. Use the
make_headers.go file to generate the header files. Micro expects
that all default syntax files will have header files and that
custom user syntax files may or may not have them. Resolving
includes within syntax has not yet been implemented. This
optimization improves startup time.

Ref #1427
2019-12-28 21:26:22 -05:00
..
autocomplete.go Add autocomplete 2019-12-25 17:05:10 -05:00
backup.go More efficient loading for default syntax files 2019-12-28 21:26:22 -05:00
buffer.go More efficient loading for default syntax files 2019-12-28 21:26:22 -05:00
cursor.go Change project layout and use go.mod 2019-12-25 17:05:10 -05:00
eventhandler.go Change project layout and use go.mod 2019-12-25 17:05:10 -05:00
line_array.go Change project layout and use go.mod 2019-12-25 17:05:10 -05:00
line_array_test.go Change project layout and use go.mod 2019-12-25 17:05:10 -05:00
loc.go Add some plugin functions 2019-12-25 17:05:11 -05:00
message.go Add linter plugin support 2019-12-25 17:05:10 -05:00
save.go Support for file reloading if changed externally 2019-12-26 17:59:23 -05:00
search.go Fix some search bugs 2019-12-25 17:05:10 -05:00
serialize.go Support for file reloading if changed externally 2019-12-26 17:59:23 -05:00
settings.go Add readonly option 2019-12-25 17:05:10 -05:00
stack.go Change project layout and use go.mod 2019-12-25 17:05:10 -05:00
stack_test.go Change project layout and use go.mod 2019-12-25 17:05:10 -05:00