Skip to content
This repository has been archived by the owner on Jul 27, 2024. It is now read-only.

Vim Neovim

Charles-Philippe Clermont edited this page Dec 4, 2020 · 7 revisions

Theme-Check is implemented as an LSP server. This means that it integrates pretty well with any editor that has an LSP Client.

The path to the executable is $theme-check-root/bin/liquid-server.

dense-analysis/ale Configuration

" in vimrc (or config/nvim/init.vim) somewhere
let g:ale_linters = {}
let g:ale_linters.liquid = ['liquid-server']
call ale#linter#Define('liquid', {
\   'name': 'liquid-server',
\   'lsp': 'stdio',
\   'executable': $HOME.'/src/github.com/Shopify/theme-check/bin/liquid-server',
\   'project_root': $HOME.'/src/github.com/Shopify/theme-check',
\   'command': '%e',
\})
Clone this wiki locally