Comments (13)
Hi, @tsuyoshicho might plan to fix this issue, wait for #25 .
from vim-lsp-settings.
Just now total fixing progress...
from vim-lsp-settings.
Do you have python3.exe?
from vim-lsp-settings.
Could you please try last change?
from vim-lsp-settings.
Do you have python3.exe?
Yes. I actually have python-language server installed manually some months ago with pip install 'python-language-server[all]'
.
I just wanted to remove it and use what is provided by this plugin. So what I did is:
- installed this plugin
- removed settings from vimrc:
" if executable('pyls')
" "" pip install 'python-language-server[all]'
" au User lsp_setup call lsp#register_server({
" \ 'name': 'pyls',
" \ 'cmd': {server_info->['pyls']},
" \ 'whitelist': ['python'],
" \ })
" endif
from vim-lsp-settings.
Ah, I forgot this. #25
from vim-lsp-settings.
Could you please try last change?
Didn't help
from vim-lsp-settings.
I have removed all @echo offs
:
C:\Users\maksim.kim\scoop\apps\vim-nightly\current>cd /d C:\Users\maksim.kim\vimfiles\pack\minpac\start\vim-lsp-settings\installer\
C:\Users\maksim.kim\vimfiles\pack\minpac\start\vim-lsp-settings\installer>call pip_install pyls python-language-server
C:\Users\maksim.kim\vimfiles\pack\minpac\start\vim-lsp-settings\installer>if "xpyls" EQU "x" goto :EOF
C:\Users\maksim.kim\vimfiles\pack\minpac\start\vim-lsp-settings\installer>if "xpython-language-server" EQU "x" goto :EOF
C:\Users\maksim.kim\vimfiles\pack\minpac\start\vim-lsp-settings\installer>set server_dir=..\servers\pyls
C:\Users\maksim.kim\vimfiles\pack\minpac\start\vim-lsp-settings\installer>if exist "..\servers\pyls" rd /Q /S "..\servers\pyls"
C:\Users\maksim.kim\vimfiles\pack\minpac\start\vim-lsp-settings\installer>md "..\servers\pyls"
C:\Users\maksim.kim\vimfiles\pack\minpac\start\vim-lsp-settings\installer>cd /d "..\servers\pyls"
C:\Users\maksim.kim\vimfiles\pack\minpac\start\vim-lsp-settings\servers\pyls>where python3 2>NUL
C:\Users\maksim.kim\AppData\Local\Microsoft\WindowsApps\python3.exe
C:\Users\maksim.kim\vimfiles\pack\minpac\start\vim-lsp-settings\servers\pyls>if 0 NEQ 0 (
python3 -m venv ./venv
venv\bin\pip3 install python-language-server
) else (
python -m venv ./venv
venv\bin\pip install python-language-server
)
The system cannot find the path specified.
C:\Users\maksim.kim\vimfiles\pack\minpac\start\vim-lsp-settings\servers\pyls>%~dp0\venv\bin\pyls.cmd %*
1>pyls.cmd
The system cannot find the path specified.
from vim-lsp-settings.
Why bin
is used though?
I can see no bin
folder in venv
, all binaries are in Scripts
folder instead:
from vim-lsp-settings.
I have changed bin
to Scripts
and was able to half-install the server:
Not sure what is pyls.cmd
and where it is copied/made from.
from vim-lsp-settings.
@habamax Where is pyls.cmd ?
C:\Users\maksim.kim\vimfiles\pack\minpac\start\vim-lsp-settings\servers\pyls\bin\pyls.cmd
?
from vim-lsp-settings.
@habamax #25 is merged. Please re-try it.
from vim-lsp-settings.
@mattn not sure. I tried to figure out what is going on in the cmd file and there was empty pyls.cmd created somewhere in the path. But I stopped looking into it as soon as I was told the issue is being handling at that moment.
@tsuyoshicho thx, it works now!
from vim-lsp-settings.
Related Issues (20)
- Managing upgrades of installed servers
- LSP action broken (apply_workspace_edit) HOT 1
- sumneko needs a meta folder to support builtins
- How to set lsp_settings_filetype_ with LspSettingsLocalEdit
- ruff lsp is weird, potentially add to readme? HOT 1
- Add pylizer
- There's no installer for vimscript-language-server HOT 4
- install-terraform-ls.sh curling non-existant file HOT 4
- customTags for yaml-language-server HOT 2
- term_start function unknown error HOT 2
- Add support for YANG LSP
- COBOL not working? HOT 2
- Java doesn't work on Windows 10
- `vscode-css-languageserver-bin` is too outdated.
- Could not find an installable clangd release HOT 1
- `:LspStatus` returns `typescript-language-server: not running` HOT 5
- The steep language server started when Steepfile not exists HOT 3
- install-helm-ls.sh is not executable by default HOT 3
- Command for checking if a LSP is available for a specific filetype
- OCaml Compiler version mismatch
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vim-lsp-settings.