Skip to content

lucy-language/tree-sitter-lucy

Repository files navigation

logo

Lucy Tree-sitter

Installation

Neovim

  1. Install the nvim-treesitter plugin
  2. Add this to your init.lua file
require "nvim-treesitter.parsers".get_parser_configs().lucy = {
  install_info = {
    url = "https://github.com/lucy-language/tree-sitter-lucy",
    files = { "src/parser.c" },
    branch = "master"
  },
  filetype = "lc"
}

If you use an init.vim file add this

lua << EOF
require "nvim-treesitter.parsers".get_parser_configs().lucy = {
  install_info = {
    url = "https://github.com/lucy-language/tree-sitter-lucy",
    files = { "src/parser.c" },
    branch = "master"
  },
  filetype = "lc"
}
EOF
  1. Open neovim and run :TSInstall lucy
  2. To add highlighting follow these steps with the files found here

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors