Skip to content

Commit ce59dc8

Browse files
authored
Update getting_started.md - Added troubleshooting for brackets after cmdlets when autocompleting
1 parent f2ed66f commit ce59dc8

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

docs/guide/getting_started.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,3 +131,11 @@ require('lspconfig')['powershell_es'].setup {
131131
settings = { powershell = { scriptAnalysis = { settingsPath = custom_settings_path } } }
132132
}
133133
```
134+
135+
#### Autocomplete Brackets Troubleshooting
136+
If you're using `blink.cmp` and you're getting brackets when autocompleting
137+
cmdlet names, you'll need to add `{ "ps1", "psm1" }` to the blocked filetypes
138+
for both `kind_resolution` and `semantic_token_resolution` in the plugin's
139+
config file.
140+
141+
[Blink.cmp completion reference](https://cmp.saghen.dev/configuration/reference#completion-accept)

0 commit comments

Comments
 (0)