🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

github.com/aca/neuron-language-server

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/aca/neuron-language-server

v0.0.0-20201118175559-450a7cff71c1
Source
Go
Version published
Created
Source

neuron-language-server

Language server for neuron.

Neuron will embed language server in neuron. Check sric/neuron#213 for updates.
This is just an personal experiment.

Supports

  • textDocument/completion(search by title/id)
    completion
  • textDocument/definition
  • textDocument/hover
    definition
  • textDocument/publishDiagnostics
    diagnostic
    Virtual text is available with nvim-lsp

TODO

Prerequisites

  • neuron

Installation

go get -u github.com/aca/neuron-language-server

LSP client settings

  • vim/neovim, coc.nvim
    "languageserver": {
      "neuron": {
        "command": "neuron-language-server",
        "filetypes": ["markdown"]
      },
    
  • neovim, nvim-lspconfig
    local nvim_lsp = require'lspconfig'
    local configs = require'lspconfig/configs'
    
    configs.neuron_ls = {
      default_config = {
        cmd = {'neuron-language-server'};
        filetypes = {'markdown'};
        root_dir = function()
          return vim.loop.cwd()
        end;
        settings = {};
      };
    }
    
    nvim_lsp.neuron_ls.setup{}
    

FAQs

Package last updated on 18 Nov 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts