23022024-4
This commit is contained in:
parent
8930c5b7df
commit
06e5331c46
5 changed files with 33 additions and 9 deletions
|
@ -18,6 +18,15 @@ return {
|
|||
cmp = true,
|
||||
},
|
||||
filetypes = { md = true, rmd = true, markdown = true, telekasten = true },
|
||||
links = {
|
||||
transform_explicit = function(text)
|
||||
return text
|
||||
end,
|
||||
style = "wiki",
|
||||
},
|
||||
})
|
||||
end,
|
||||
dependencies = {
|
||||
"bullets-vim/bullets.vim",
|
||||
},
|
||||
}
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
local config = function()
|
||||
local parser_configs = require("nvim-treesitter.parsers").get_parser_configs()
|
||||
parser_configs.markdown.used_by = { "telekasten" }
|
||||
require("nvim-treesitter.configs").setup({
|
||||
build = ":TSUpdate",
|
||||
indent = {
|
||||
|
@ -49,5 +51,5 @@ end
|
|||
return {
|
||||
"nvim-treesitter/nvim-treesitter",
|
||||
lazy = false,
|
||||
opts = config,
|
||||
config = config,
|
||||
}
|
||||
|
|
|
@ -1,6 +1,12 @@
|
|||
local templates = vim.fn.expand("~/Dropbox/TextSync/99-templates")
|
||||
|
||||
local config = function()
|
||||
require("telekasten").setup({
|
||||
home = vim.fn.expand("~/Dropbox/TextSync/00-zettel"),
|
||||
-- dailies = vim.fn.expand("~/Dropbox/TextSync/00-zettel/dialy"),
|
||||
templates = templates,
|
||||
template_new_note = templates .. "/" .. "new_note",
|
||||
template_new_daily = templates .. "/" .. "dialy_note",
|
||||
vim.api.nvim_command("hi tkLink ctermfg=36 cterm=bold,underline guifg=#10ac84 gui=bold,underline"),
|
||||
vim.api.nvim_command("hi tkBrackets ctermfg=gray guifg=gray"),
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue