0.0.67 • Published 4 years ago

vue-language-server v0.0.67

Weekly downloads
2,492
License
MIT
Repository
github
Last release
4 years ago

Vue Language Server

vue-language-server is a language server implementation compatible with language-server-protocol.

Vetur is the VS Code client consuming vue-language-server.

It's possible for other language-server-protocol compatible editors to build language server clients that consume VLS.

Usage

There are two ways to integrate vue-language-server into editors:

  1. As a global executable.

    Example Client: https://github.com/autozimu/LanguageClient-neovim

    First, install VLS globally.

    npm install vue-language-server -g

    This will provide you the global vls command.

    Then, configure LanguageClient to use vls. In this example, we write below configuration into init.vim.

let g:LanguageClient_serverCommands = {
    \ 'vue': ['vls']
    \ }
  1. As a plugin dependency.

    Example: https://github.com/HerringtonDarkholme/atom-vue

    First, install vue-language-server as a local dependency.

    npm install vue-language-server --save

    Then, require the vue-language-server, this would typically look like:

    class VueLanguageClient extends AutoLanguageClient {
      startServerProcess () {
        return cp.spawn('node', [require.resolve('vue-language-server/dist/htmlServerMain')])
      }
    }
  2. As extension of coc.nvim

    Install coc.nvim in your vim/neovim.

    Then, run vim command

    :CocInstall coc-vetur
0.0.66

4 years ago

0.0.67

4 years ago

0.0.65

5 years ago

0.0.64

5 years ago

0.0.63

5 years ago

0.0.62

5 years ago

0.0.61

5 years ago

0.0.60

5 years ago

0.0.59

5 years ago

0.0.58

5 years ago

0.0.57

5 years ago

0.0.56

5 years ago

0.0.55

5 years ago

0.0.54

5 years ago

0.0.53

5 years ago

0.0.52

5 years ago

0.0.51

5 years ago

0.0.49

5 years ago

0.0.48

5 years ago

0.0.47

5 years ago

0.0.46

5 years ago

0.0.45

5 years ago

0.0.44

5 years ago

0.0.43

5 years ago

0.0.42

5 years ago

0.0.41

5 years ago

0.0.40

5 years ago

0.0.38

5 years ago

0.0.36

5 years ago

0.0.35

6 years ago

0.0.34

6 years ago

0.0.33

6 years ago

0.0.32

6 years ago

0.0.31

6 years ago

0.0.30

6 years ago

0.0.29

6 years ago

0.0.28

6 years ago

0.0.27

6 years ago

0.0.26

6 years ago

0.0.25

6 years ago

0.0.24

6 years ago

0.0.23

6 years ago

0.0.22

7 years ago

0.0.21

7 years ago

0.0.20

7 years ago

0.0.19

7 years ago

0.0.18

7 years ago

0.0.17

7 years ago

0.0.16

7 years ago

0.0.15

7 years ago

0.0.14

7 years ago

0.0.13

7 years ago

0.0.12

7 years ago

0.0.11

7 years ago

0.0.10

7 years ago

0.0.9

7 years ago

0.0.8

7 years ago

0.0.7

7 years ago

0.0.6

7 years ago

0.0.5

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago