Skip to content

Commit 2c78d0b

Browse files
committed
Cleaned up some sections in the getting started guide to make ot more readable.
1 parent b0a0289 commit 2c78d0b

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

docs/guide/getting_started.md

+10-3
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ Expand-Archive -Path $ZipPath -DestinationPath $InstallPath;
5757

5858
#### Setup Keybindings and Path Information
5959
Once the basic language configurations have been installed, add this to your
60-
init.lua:
60+
init.lua located in `$XDG_CONFIG_HOME`:
6161
```lua
6262
local on_attach = function(client, bufnr)
6363
-- Enable completion triggered by <c-x><c-o>
@@ -93,6 +93,14 @@ require('lspconfig')['powershell_es'].setup {
9393
> NOTE: Be sure to set the bundle_path variable to the correct location,
9494
> otherwise the server will not know the path to start the server.
9595
96+
If you use an `init.vim` file, you may put the keybinding and path configuration
97+
in your `init.vim` with the `lua` heredoc syntax instead.
98+
```vim
99+
lua << EOF
100+
-- lua keybindings and path configuration here
101+
EOF
102+
```
103+
96104
#### Configure Additional Settings
97105
To further configure the server, you can supply settings to the setup table.
98106
For example, you can set the code formatting preset to one true brace style
@@ -105,8 +113,7 @@ require('lspconfig')['powershell_es'].setup {
105113
}
106114
```
107115

108-
As another example, you can set the bundled PSScriptAnalyzer's custom rule path
109-
like so:
116+
You can also set the bundled PSScriptAnalyzer's custom rule path like so:
110117
```lua
111118
local custom_settings_path = home_directory .. '/PSScriptAnalyzerSettings.psd1'
112119
require('lspconfig')['powershell_es'].setup {

0 commit comments

Comments
 (0)