mirror of
https://github.com/pratiktri/dotfiles.git
synced 2026-02-04 16:41:43 +05:30
refactor(neovim): Convert file-autocmd to after-ftplugin
- Markdown, gitcommit, text: `lua/shared/text_settings.lua` - Javascript, Typescript, React, Vue: `lua/shared/javascript_settings.lua` - `after/ftplugin` files that `require` the above 2 shared configs
This commit is contained in:
@@ -49,11 +49,11 @@ return {
|
||||
indent = { enabled = false, skip_heading = true, icon = "" },
|
||||
completions = { blink = { enabled = true } },
|
||||
},
|
||||
ft = { "markdown", "norg", "rmd", "org" },
|
||||
ft = { "markdown", "text", "gitcommit", "scratch" },
|
||||
config = function(_, opts)
|
||||
require("render-markdown").setup(opts)
|
||||
Snacks.toggle({
|
||||
name = "Markdown Render",
|
||||
name = "Markdown Rendering",
|
||||
get = function()
|
||||
return require("render-markdown.state").enabled
|
||||
end,
|
||||
|
||||
Reference in New Issue
Block a user