• Stars
    star
    106
  • Rank 325,871 (Top 7 %)
  • Language
    Rust
  • License
    Apache License 2.0
  • Created over 1 year ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

WIP. Goals: Treesitter highlighting, snippets, and a smooth intergration with neovim.

typst.nvim

WIP. Goals: Tree-sitter highlighting, snippets, and a smooth integration with neovim.

For the past week, I've been thinking what I want for Neovim and typst.

I now believe that typst will big, and I want to fully support everything the best way I can.

So here is what I want:

  • Treesitter support:
    • Conceal!
    • Code blocks
    • Highlighting
    • Folding
    • The issue is Typst is a big language, that I needed a break from this project for a bit.
  • Rendering math typst blocks
    • To get this to work properly, I need to contribute to neovim's anticonceal feature.
    • Plus get image rendering to work as expected
  • Snippets. Basically, port all the snippets I use from latex to typst.
  • External PDF viewers. This is not so hard, but I need to a PR for this to work.

It's going to be a lot of work, but I'll get it done.


Currently working on the tree-sitter parser: https://github.com/SeniorMars/tree-sitter-typst

Language spec(?): https://github.com/typst/typst/blob/main/tools/support/typst.tmLanguage.json

This plugin will take much inspiration from VimTeX and silicon.nvim :)

Note: since the language I'm most familiar with is rust, this project will probably be written in Rust.

More Repositories

1

dotfiles

My Rice Setup
Shell
789
star
2

tree-sitter-typst

A TreeSitter parser for the Typst File Format
C
115
star
3

links-i-find-interesting

A mirror for all the links I post on my personal discord server
17
star
4

render.nvim

I'm going to try to be working on the anticonceal feature of nvim for image support for typst. This is going to a proof of concept so I can properly figure out what I need to do to get everything working as I want it too.
Rust
6
star
5

taolp

The class website for "The Art Of Lazy Programming". Hopefully, I am able to serve it under the official rice.edu domain.
6
star
6

seniormars.github.io

Blogs...
HTML
5
star
7

pokemon-csv

A forked of a https://gist.github.com/armgilles/194bcff35001e7eb53a2a8b441e8b2c6, but improved.
Python
5
star
8

typst-raytracer

WIP... it's something i'm building to test my treesitter parser...
4
star
9

rvim

my init.lua in mostly rust. cuz why not
Rust
3
star
10

SeniorMars

3
star
11

EandF

2nd to last project for softdev first semester
HTML
2
star
12

risp

My implmentation of a lisp interperator but in rust
Rust
2
star
13

gartus

gartus
Rust
2
star
14

blazekirk

A blazing fast program made in rust that prints out "kirk" ⚑️⚑️⚑️⚑️⚑️⚑️⚑️ πŸ”₯πŸ”₯πŸ”₯πŸ”₯πŸ”₯πŸ”₯πŸ”₯ super fastt
Rust
2
star
15

rush

Shell written in c
C
1
star
16

coc-typst

A WIP extension for coc.nvim for the WIP typst language server. That's a lot of WIPs...
TypeScript
1
star
17

week1-rust

Learning rust for real
Rust
1
star
18

WhatVimCanDoForYou

WIP Talk
1
star
19

rust-presentation

Rust
1
star