AutoYADM commit: 2025-01-25 17:15:03
This commit is contained in:
parent
8e89b7768a
commit
af7e104cbe
1 changed files with 12 additions and 0 deletions
|
@ -16,3 +16,15 @@ opt.wrap = true
|
||||||
opt.spelllang = { "en" }
|
opt.spelllang = { "en" }
|
||||||
-- opt.spelloptions = "camel"
|
-- opt.spelloptions = "camel"
|
||||||
opt.clipboard = "unnamedplus"
|
opt.clipboard = "unnamedplus"
|
||||||
|
-- ---Function returns the root dir of org files
|
||||||
|
-- ---@param buf number
|
||||||
|
-- ---@return string|string[]
|
||||||
|
-- local function org_root(buf)
|
||||||
|
-- local util = require("lazyvim.util.root")
|
||||||
|
-- local cwd = vim.uv.cwd()
|
||||||
|
-- end
|
||||||
|
vim.g.root_spec = {
|
||||||
|
"lsp",
|
||||||
|
{ ".git", "lua", ".org_root" },
|
||||||
|
"cwd",
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue