Skip to content

Instantly share code, notes, and snippets.

@graelo
graelo / README.md
Last active September 9, 2024 11:06
Nvim 0.8 tree-sitter Python conceal

This highlights file should live in <nvim-conf>/after/queries/python/highlights.scm.

Please note that with neovim 0.8, for files which queries extend existing queries, you need to add ; extends at the top of the file (see [this discussion]).

Here is some Python file:

"""Test conceal."""
@graelo
graelo / Cargo.toml
Created October 24, 2021 06:44
Example usage of arg_enum in Clap 3.0.0-beta.2
[package]
name = "clap-argenum-for-ed"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
clap = "= 3.0.0-beta.2"
clap_derive = " = 3.0.0-beta.2"