You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Shows editing status, workspace, and file information
108
+
- Customized text for different activities
39
109
40
110
## LSP
41
111
42
-
- Preconfigured for Python (`pylsp`), Lua (`lua_ls`), and Rust (`rust_analyzer`).
43
-
- Custom `on_attach` for LSP keymaps and diagnostics.
112
+
- Managed with Mason and mason-lspconfig for easy installation
113
+
- Preconfigured LSP servers:
114
+
-`pylsp` — Python Language Server
115
+
-`lua_ls` — Lua Language Server
116
+
-`rust_analyzer` — Rust Language Server with clippy integration
117
+
- Custom `on_attach` function for consistent keymaps across language servers
118
+
- Enhanced diagnostics configuration with convenient navigation
119
+
- Supports core LSP features:
120
+
- Code completion
121
+
- Go to definition/declaration
122
+
- Find references
123
+
- Code actions and refactoring
124
+
- Hover documentation
125
+
- Signature help
126
+
- Workspace symbol management
127
+
- Code formatting
44
128
45
129
## Usage
46
130
47
131
- Launch with `nvim`.
48
132
- All settings and keymaps are modular and easy to extend.
133
+
- Use `:Mason` to install additional language servers.
134
+
- Use `:Lazy` to manage plugins.
135
+
136
+
## Tree-sitter Benefits
137
+
138
+
Tree-sitter provides superior syntax highlighting by using a concrete syntax tree (CST) for each file. This delivers several advantages over traditional regex-based highlighting:
139
+
140
+
-**More accurate highlighting** — No more edge case issues with regex highlighting
141
+
-**Consistent across languages** — Common elements look the same across different languages
142
+
-**Performance improvements** — More efficient and handles large files better
143
+
-**Structural understanding** — Tree-sitter understands code structure, not just patterns
144
+
-**Advanced features** — Enables features like refactoring, code folding, and text objects
145
+
146
+
The configured Tree-sitter setup includes auto-installation of language parsers for:
0 commit comments