roobert/f-string-toggle.nvim

github github
programming-languages-support
stars 27
issues 1
subscribers 3
forks 2
CREATED

2023-01-22

UPDATED

8 months ago


:yarn: f-string-toggle

f-string-toggle

A modularised version of this reddit post by u/ddmenddes_ - all credit goes to the original author!

Install

{
  "roobert/f-string-toggle.nvim",
  config = function()
    require("f-string-toggle").setup({
      key_binding = "<leader>f",
      key_binding_desc = "Toggle f-string"
    })
  end,
}

Usage

Within a string press leader-f to toggle if it's an f-string or not.