Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 563 Bytes

File metadata and controls

27 lines (18 loc) · 563 Bytes

marko/lsp

Language Server Protocol implementation for Marko — powers editor completions, diagnostics, go-to-definition, and hover for Marko-specific semantics.

Installation

composer require marko/lsp

Quick Example

marko lsp:serve

Configure your editor (example for Neovim with nvim-lspconfig):

require('lspconfig').marko.setup({
  cmd = { 'marko', 'lsp:serve' },
})

Documentation

Supported textDocument/* methods, feature coverage, and editor setup: marko/lsp