merge: add csharpls, completion for elan on windows

This commit is contained in:
qwjyh 2023-10-13 20:42:30 +09:00
parent b779ecadc8
commit 5c27c02e69
2 changed files with 8 additions and 7 deletions

View file

@ -11,6 +11,7 @@ if (!(Test-Path $script_location)) {
Get-ChildItem $script_location | Remove-Item Get-ChildItem $script_location | Remove-Item
rclone completion powershell > (Join-Path $script_location "rclone_completion.ps1") rclone completion powershell > (Join-Path $script_location "rclone_completion.ps1")
rustup completions powershell > (Join-Path $script_location "rustup_completion.ps1") rustup completions powershell > (Join-Path $script_location "rustup_completion.ps1")
elan completions powershell > (Join-Path $script_location "elan_completion.ps1")
wezterm shell-completion --shell power-shell > (Join-Path $script_location "wezterm_completion.ps1") wezterm shell-completion --shell power-shell > (Join-Path $script_location "wezterm_completion.ps1")
chezmoi completion powershell > (Join-Path $script_location "chezmoi_completion.ps1") chezmoi completion powershell > (Join-Path $script_location "chezmoi_completion.ps1")
pip completion --powershell > (Join-Path $script_location "pip_completion.ps1") pip completion --powershell > (Join-Path $script_location "pip_completion.ps1")

View file

@ -52,9 +52,9 @@ require('lazy').setup({
}, },
{ {
-- 'kdheepak/JET.nvim', -- 'kdheepak/JET.nvim',
'qwjyh/JET.nvim', -- 'qwjyh/JET.nvim',
dir = '~/work/julia/JET.nvim', dir = '~/work/julia/JET.nvim',
dev = false, -- set true to use dir -- dev = false, -- set true to use dir
lazy = true, lazy = true,
dependencies = { dependencies = {
'jose-elias-alvarez/null-ls.nvim', 'jose-elias-alvarez/null-ls.nvim',
@ -227,9 +227,9 @@ iron.setup {
fish = { fish = {
command = { 'fish' }, command = { 'fish' },
}, },
julia = { -- julia = {
command = { 'julia', }, -- command = { 'julia', },
}, -- },
shell = { shell = {
command = { 'sh', }, command = { 'sh', },
}, },
@ -462,7 +462,7 @@ lspconfig.lua_ls.setup {
} }
-- Julia -- Julia
-- use sysimage only if it exists -- use sysimage only if it exists
local julials_so = os.getenv("HOME") .. "/.julia/environments/nvim-lspconfig/sys-ls.so" local julials_so = vim.env.HOME .. "/.julia/environments/nvim-lspconfig/sys-ls.so"
local julials_so_option = { "", "" } local julials_so_option = { "", "" }
local julials_so_file = io.open(julials_so) local julials_so_file = io.open(julials_so)
if julials_so_file then -- if sysimage doesn't exist, julials_so_file == nil if julials_so_file then -- if sysimage doesn't exist, julials_so_file == nil
@ -479,7 +479,7 @@ lspconfig.julials.setup {
julials_so_option[1], julials_so_option[2], julials_so_option[1], julials_so_option[2],
-- use below 2 lines to collect script to be included in sysimage -- use below 2 lines to collect script to be included in sysimage
'--trace-compile', '--trace-compile',
os.getenv("HOME") .. "/.julia/environments/nvim-lspconfig/tracecompile.jl", vim.env.HOME .. "/.julia/environments/nvim-lspconfig/tracecompile.jl",
"-e", "-e",
[[ [[
# Load LanguageServer.jl: attempt to load from ~/.julia/environments/nvim-lspconfig # Load LanguageServer.jl: attempt to load from ~/.julia/environments/nvim-lspconfig