diff options
| author | srdusr <trevorgray@srdusr.com> | 2023-09-09 22:45:07 +0200 |
|---|---|---|
| committer | srdusr <trevorgray@srdusr.com> | 2023-09-09 22:45:07 +0200 |
| commit | 4c65c248c28796da222323b6ea528136d75f459a (patch) | |
| tree | 0e173e671d581ef22cf7a06213ff04dc1f172941 /after | |
| parent | a1ff7aec8c360404a40d7cdae2cd0a460068ab8a (diff) | |
| download | dotfiles-4c65c248c28796da222323b6ea528136d75f459a.tar.gz dotfiles-4c65c248c28796da222323b6ea528136d75f459a.zip | |
Autocommand for backticks
Diffstat (limited to 'after')
| -rw-r--r-- | after/ftplugin/markdown.lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/after/ftplugin/markdown.lua b/after/ftplugin/markdown.lua index 5bf3f16..718a871 100644 --- a/after/ftplugin/markdown.lua +++ b/after/ftplugin/markdown.lua @@ -9,3 +9,8 @@ vim.opt.softtabstop = 2 -- Tab key indents by 2 spaces. vim.opt.shiftwidth = 2 -- >> indents by 2 spaces. vim.b[0].undo_ftplugin = "setlocal nospell nowrap nolinebreak nobreakindent conceallevel=0" + +vim.cmd([[ + autocmd FileType markdown iabbrev <buffer> `` `` +]]) + |
