web-tools.nvim icon indicating copy to clipboard operation
web-tools.nvim copied to clipboard

Hi I need some help installing

Open b9Joker108 opened this issue 1 year ago • 2 comments

Hi

I need some help installing your plugin, as I am new to Neovim. I am using Termux and the Lazy Plugin Manager.

In Termux I successfully executed:

npm install -g browser-sync
npm i -g vscode-langservers-extracted

But, am not sure now how to integrate that CLI installation, with Neovim and the Lazy Plugin Manager.

I don't understand why I can't use these commands in Neovim:

:Npm install -g browser-sync

When I try to execute this in Neovim, I get:

E492: Not an editor command: Npm install -g browser-sync

:Npm install -g vscode-langservers-extracted

When I try to execute this in Neovim, I get:

E492: Not an editor command: Npm install -g vscode-langservers-extracted

Any assistance greatly appreciated.

Thanking you in anticipation Beauford

b9Joker108 avatar Apr 12 '24 20:04 b9Joker108

What is your config? I am using this

{
    'ray-x/web-tools.nvim',
    ft = { 'html', 'javascript', 'hurl', 'http', 'svelte' },
    cmd = { 'HurlRun', 'BrowserOpen', 'Npm', 'Yarn', 'Tsc' },
    lazy = true,
    config = function()
      require('web-tools').setup({})
    end,
  }

ray-x avatar Apr 13 '24 01:04 ray-x

That is most useful. I will endeavour to give it a spin, in the logic of my config. Thank you! I will let you know how I go. Is there a full draft/model specification, demonstrably listing all custom attrubutes?

b9Joker108 avatar Apr 15 '24 07:04 b9Joker108