Skip to content

haolian9/fstr.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

provides a way to toggle between str and fstr for python buffer

fstr-2023-06-29_15.37.37.mp4

design choices

  • only for python
  • take advantage of treesitter rather than complicated string manipulations
  • no automatic operation to toggle fstr

status

  • it just works
  • it is feature-frozen

prerequisites

  • nvim 0.9.*
  • treesitter
  • haolian9/infra.nvim
  • haolian9/squirrel.nvim

usage

my personal config

bm.i("<c-f>", function() require("squirrel.fstr")() end)

About

to toggle between str and fstr

Topics

Resources

Stars

Watchers

Forks

Languages