Skip to content

Commit f2ed66f

Browse files
authored
Update getting_started.md with colorscheme troubleshooting step
1 parent 1a988a9 commit f2ed66f

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

docs/guide/getting_started.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,15 @@ lua << EOF
101101
EOF
102102
```
103103

104+
#### Theme Troubleshooting
105+
If you find that your colorscheme appears correctly for a second and then
106+
changes to not having full highlighting, you'll need to disable semantic
107+
highlighting.
108+
Add this line to the `on_attach` function.
109+
```lua
110+
client.server_capabilities.semanticTokensProvider = nil
111+
```
112+
104113
#### Configure Additional Settings
105114
To further configure the server, you can supply settings to the setup table.
106115
For example, you can set the code formatting preset to one true brace style

0 commit comments

Comments
 (0)