Skip to content

lewis6991/tsffi.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tsffi.nvim

Very experimental plugin that aims to replace Neovim's treesitter interface with FFI bindings.

Why? The regular Lua-C API can be quite slow due to contexts switches. LuaJIT's FFI is fast.

Requirements

Neovim 0.11

Optional: nvim built with neovim/neovim#34008

Usage

require('tsffi').setup()

Test

nvim -u nvimrc.lua <C file>
# e.g. nvim -u nvimrc.lua vendor/api.h

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published