diff --git a/What's-Included?.md b/What's-Included?.md index 2e65efe..4edc021 100644 --- a/What's-Included?.md +++ b/What's-Included?.md @@ -1 +1,22 @@ -a \ No newline at end of file +# What’s included? + +LunarVim provides neovim configuration files that take advantage of +tree-sitter and language server protocol. The configuration is written +in lua. + +## Why do I want tree-sitter and LSP? + +- Normally, an editor uses regular expression parsing for things like + highlighting and checking the syntax of your file. Each time you make + a change, the editor must re-parse the entire file. Tree-sitter, on + the other hand, transforms text into a syntax tree. Each time you make + a change, only the parts of the code that change need to be parsed. + This greatly improves the speed of parsing. This can make a huge + difference when editing large files. + +- Neovim 0.5 including language server protocol means your editor can + provide: code actions, completions, formatting, navigating to + definitions, renaming, etc. The language server only has to be written + once and will work on any editor that supports LSP. Any improvements + made to the language server will immediately be used by all editors + that support LSP. \ No newline at end of file