add: nvim: pwsh ls & documented some issues on windows
This commit is contained in:
parent
dcf74c1548
commit
30052098eb
3 changed files with 16 additions and 0 deletions
|
@ -34,6 +34,10 @@ my dotfiles
|
|||
2. run install.fish
|
||||
|
||||
# TODO
|
||||
- Iron.nvim doesn't work for julia on Windows
|
||||
- JET.nvim doesn't work on windows
|
||||
- tree-sitter of lua doesn't work on windows
|
||||
- checkhealth errors
|
||||
- make install script for Linux
|
||||
- add rc files of Manjaro
|
||||
- raspi dotfiles
|
||||
|
|
|
@ -54,6 +54,14 @@ scoop import .\bin\windows\scoop_apps\scoop_minimal_apps.json
|
|||
New-Item -ItemType SymbolicLink -Path ~\AppData\Local\nvim\init.lua -Target (Resolve-Path .\dotfiles\neovim\init.lua) -Force
|
||||
New-Item -ItemType SymbolicLink -Path ~\AppData\Local\nvim\lua\lualine_setup.lua -Target (Resolve-Path .\dotfiles\neovim\lua\lualine_setup.lua) -Force
|
||||
New-Item -ItemType SymbolicLink -Path ~\AppData\Local\nvim\lua\lspconfig\server_configurations\satysfi_ls.lua -Target (Resolve-Path .\dotfiles\neovim\lua\lspconfig\server_configurations\satysfi_ls.lua) -Force
|
||||
New-Item -ItemType SymbolicLink -Path ~\AppData\Local\nvim\lua\lspconfig\server_configurations\jetls.lua -Target (Resolve-Path .\dotfiles\neovim\lua\lspconfig\server_configurations\jetls.lua) -Force
|
||||
mkdir $env:LOCALAPPDATA\nvim\after\ftplugin
|
||||
New-Item -ItemType SymbolicLink -Path $env:LOCALAPPDATA\nvim\after\ftplugin\satysfi.lua -Target (Resolve-Path .\dotfiles\neovim\after\ftplugin\satysfi.lua)
|
||||
New-Item -ItemType SymbolicLink -Path $env:LOCALAPPDATA\nvim\after\ftplugin\tex.lua -Target (Resolve-Path .\dotfiles\neovim\after\ftplugin\tex.lua)
|
||||
mkdir $env:LOCALAPPDATA\nvim\after\queries\satysfi
|
||||
Invoke-WebRequest -Uri "https://raw.githubusercontent.com/monaqa/tree-sitter-satysfi/master/queries/highlights.scm" -OutFile $env:LOCALAPPDATA\nvim\after\queries\satysfi\highlights.scm
|
||||
Invoke-WebRequest -Uri "https://raw.githubusercontent.com/monaqa/tree-sitter-satysfi/master/queries/indents.scm" -OutFile $env:LOCALAPPDATA\nvim\after\queries\satysfi\indents.scm
|
||||
Invoke-WebRequest -Uri "https://raw.githubusercontent.com/monaqa/tree-sitter-satysfi/master/queries/matchup.scm" -OutFile $env:LOCALAPPDATA\nvim\after\queries\satysfi\matchup.scm
|
||||
# pwsh
|
||||
New-Item -ItemType SymbolicLink -Path $PROFILE -Target (Resolve-Path .\dotfiles\pwsh\powershell_profile.ps1) -Force
|
||||
New-Item -ItemType SymbolicLink -Path ~\.config\powershell\chezmoi_completion.ps1 -Target (Resolve-Path .\dotfiles\pwsh\chezmoi_completion.ps1) -Force
|
||||
|
|
|
@ -433,6 +433,10 @@ lspconfig.bashls.setup {
|
|||
on_attach = on_attach,
|
||||
capabilities = capabilities,
|
||||
}
|
||||
-- pwsh
|
||||
lspconfig.powershell_es.setup {
|
||||
bundle_path = '~/scoop/apps/powershell-editorservice/current/PowerShellEditorServices'
|
||||
}
|
||||
-- python
|
||||
lspconfig.pyright.setup {
|
||||
on_attach = on_attach,
|
||||
|
|
Loading…
Reference in a new issue