Giter VIP home page Giter VIP logo

Comments (9)

mattn avatar mattn commented on May 29, 2024

I tried installation of css-languageserver with vim-rooter but I could not reproduce.

from vim-lsp-settings.

prabirshrestha avatar prabirshrestha commented on May 29, 2024

hmm. wondering if it is some other plugin or my vimrc settings.

Do you also have shellslash enabled?

Here is my full vimrc. I will try with minimal vimrc later.

https://gist.github.com/prabirshrestha/279d8b179d9353fe8694#file-vimrc

from vim-lsp-settings.

mattn avatar mattn commented on May 29, 2024

I don't use shellslash (since I don't like it)

Hmm, As far as I know, %~dp0 mean the directory of the batch file %f.

image

from vim-lsp-settings.

prabirshrestha avatar prabirshrestha commented on May 29, 2024
call %~dp0npm_install css-languageserver %~dp0..\server\vscode-css-languageserver-bin

This seems to partially work but it is install in the wrong folder.

from vim-lsp-settings.

mattn avatar mattn commented on May 29, 2024

Do you use symbolic link?

from vim-lsp-settings.

mattn avatar mattn commented on May 29, 2024

How cd /d %~dp0 works?

from vim-lsp-settings.

prabirshrestha avatar prabirshrestha commented on May 29, 2024

cd /d %~dp0 works.

I don't use symoblic links for my vim configs. But I do use it for npm and node since I use scoop as package installer for windows and it has heavy use of symbolic link.

I think my issue was that I was editing a css file from d: and cd without /d didn't change the drive. Now it work.

from vim-lsp-settings.

mattn avatar mattn commented on May 29, 2024

Fixed all .cmd files.

from vim-lsp-settings.

prabirshrestha avatar prabirshrestha commented on May 29, 2024

That was fast! Works now. Thanks for digging in.

from vim-lsp-settings.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.