-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathlang.lua
More file actions
58 lines (57 loc) · 1.35 KB
/
lang.lua
File metadata and controls
58 lines (57 loc) · 1.35 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
return {
-- Markdown
{
"lukas-reineke/headlines.nvim",
ft = { "markdown", "norg", "rmd", "org" },
opts = function()
return {
markdown = {
headline_highlights = false,
},
}
end,
config = function(_, opts)
-- PERF: schedule to prevent headlines slowing down opening a file
vim.schedule(function()
require("headlines").setup(opts)
require("headlines").refresh()
end)
end,
},
{
"williamboman/mason.nvim",
opts = function(_, opts)
opts.ensure_installed = opts.ensure_installed or {}
vim.list_extend(opts.ensure_installed, { "vale" })
end,
},
{
"mfussenegger/nvim-lint",
opts = {
linters_by_ft = {
markdown = { "markdownlint", "vale" },
},
},
},
-- Lua
{
"rafcamlet/nvim-luapad",
cmd = { "Luapad" },
ft = "lua",
opts = { eval_on_change = false },
keys = {
{ "<localleader>p", "<cmd>Luapad<cr>", mode = "n" },
{ "<localleader>r", "<cmd>LuaRun<cr>", mode = "n" },
},
-- {
-- "rafcamlet/nvim-luapad",
-- cmd = { "Luapad" },
-- ft = "lua",
-- opts = { eval_on_change = false },
-- keys = {
-- { "<localleader>p", "<cmd>Luapad<cr>", mode = "n" },
-- { "<localleader>r", "<cmd>LuaRun<cr>", mode = "n" },
-- },
-- },
},
}