GithubHelp home page GithubHelp logo

coc-vimlsp's Introduction

vim language server extension

vim-language-server extension for coc.nvim

Npm download

image

Features

  • auto completion
  • function signature help
  • hover document
  • go to definition
  • go to references
  • document symbols
  • document highlight
  • folding range
  • select range
  • rename
  • snippets
  • diagnostic

Install

:CocInstall coc-vimlsp

Config

document highlight:

let g:markdown_fenced_languages = [
      \ 'vim',
      \ 'help'
      \]

coc-settings.json

  • vimlsp.trace.server

    "description": "Trace level of vim language server"

  • vimlsp.debug: default: false

    "description": "enable coc-vimlsp service debug"

  • vimlsp.diagnostic.enable: default: true

    "description": "enable diagnostic"

  • vimlsp.indexes.runtimepath: default: true

    "description": "if index vim's runtimepath files, this will effect the suggest"

  • vimlsp.indexes.count: default: 3

    "description": "count of files index at the same time, change to greater will speed up index but will cause high CPU usage for some time"

  • vimlsp.indexes.gap: default: 100

    "description": "time gap between parse file, change to smaller will speed up index but will cause high CPU usage for some time"

  • vimlsp.indexes.projectRootPatterns: default: [".git", "autoload", "plugin"]

    "description": "Names of files used as the mark of project root."

  • vimlsp.suggest.fromVimruntime: default: true

    "description": "completeitems from runtimepath's vim files, if this is true that fromVimruntime is true" > },

  • vimlsp.suggest.fromRuntimepath: default: false

    "description": "completeitems from runtimepath's vim files, if this is true that fromVimruntime is true"

Usage

Auto complete and function signature help:

autocomplete

Hover document:

hover

Go to definition and references:

goto

Document symbols:

symbols

Document highlight:

highlight

Folding range and selection range:

fold

Rename:

rename

Snippets and diagnostic:

dia

Buy Me A Coffee ☕️

btc

image

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.