Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: ability to configure and use SSR edits #8

Open
ViRu-ThE-ViRuS opened this issue Nov 29, 2022 · 1 comment
Open

feat: ability to configure and use SSR edits #8

ViRu-ThE-ViRuS opened this issue Nov 29, 2022 · 1 comment

Comments

@ViRu-ThE-ViRuS
Copy link

it would be nice if SSR exposed an api to configure a list standard operations (find replace pairs), so that they can then be reused (potentially across different file types), via keymaps or commands.

@cshuaimin
Copy link
Owner

Do you mean do ssr edits in scripts? It's possible by requiring submodules like require('ssr.search'), see https://github.com/cshuaimin/ssr.nvim/blob/main/lua/ssr.lua#L140-L176

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants