Skip to content

koenverburg/static.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

Static.nvim

This repo holds some functionality that is treesitter or lsp powered

Dislaimer this is an opinionated plugin

Getting started

Clone the project

git clone https://github.com/koenverburg/static.nvim.git

Then cd into the directory and launch nvim using the following command

nvim --cmd "set rtp+=$(pwd)"

After this you can call the plugin with the following command This will setup start the following treesitter based actions

  • Early exit
  • Highlight named imports
  • Highlight default exports
require('static').setup()
-- Folding using Treesitter
normal("<leader>fi", "<cmd>lua require 'static.treesitter'.fold_imports()<cr>")
normal("<leader>fr", "<cmd>lua require('static.treesitter').region()<cr>")

About

Static info provided by treesitter or lsp

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Languages