iamcco / iamcco/markdown-preview.nvim
Settings Loaded Through Packer Not Working
- Dominant language
- JavaScript
- Stars
- 8k
- Forks
- 411
- PR merge metrics
- No merged PRs in 30d
Description
I have this plugin installed through `packer.nvim` and it seems to be working fine, except the configuration settings don't seem to work correctly. I have it set to auto start, but it doesn't. To test this a bit further I also changed it to not auto close and the preview auto closes anyway. I checked the value of those variables in a markdown file where it should have been correctly loaded and the values seem to be correct.
Here is how I have it loaded in `packer`:
```
use {
'iamcco/markdown-preview.nvim',
run = function() vim.fn["mkdp#util#install"]() end,
ft = 'markdown',
config = function() require('markdown').setup() end,
opt=true
}
```
And the associated `markdown.lua` file that it pulls settings from:
```
local M = {}
M.setup = function()
vim.g.mkdp_auto_start = 1
vim.g.mkdp_auto_start = 0
end
return M
```
Any help would be greatly appreciated!
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.