plugins: update some config to plugins evolution
- Reorders and simplifies the filetypes config for mkdnflow according to its evolution. - Removes a tailing `s` to the nvim-treesitter config. - Follow the last tag of Telescope. Co-Authored-by: iGor milhit <igor@milhit.ch>fix-treesitter
parent
8c222d187d
commit
81979d0537
|
|
@ -23,11 +23,10 @@ return {
|
||||||
config = function ()
|
config = function ()
|
||||||
require('mkdnflow').setup({
|
require('mkdnflow').setup({
|
||||||
filetypes = {
|
filetypes = {
|
||||||
md = true,
|
|
||||||
rmd = true,
|
|
||||||
qmd = true,
|
|
||||||
markdown = true,
|
markdown = true,
|
||||||
pandoc = true
|
pandoc = true,
|
||||||
|
qmd = true,
|
||||||
|
rmd = true,
|
||||||
},
|
},
|
||||||
perspective = {
|
perspective = {
|
||||||
-- Ensure that paths are relative to the current file
|
-- Ensure that paths are relative to the current file
|
||||||
|
|
@ -47,14 +46,12 @@ tags: []
|
||||||
---
|
---
|
||||||
]],
|
]],
|
||||||
placeholders = {
|
placeholders = {
|
||||||
before = {
|
|
||||||
date = function ()
|
date = function ()
|
||||||
return os.date("%Y-%m-%dT%H:%M:%S%z")
|
return os.date("%Y-%m-%dT%H:%M:%S%z")
|
||||||
end,
|
end,
|
||||||
id = function ()
|
id = function ()
|
||||||
return os.date("%Y%m%d%H%M%S")
|
return os.date("%Y%m%d%H%M%S")
|
||||||
end
|
end
|
||||||
},
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,7 @@
|
||||||
-- Install and configure Telescope
|
-- Install and configure Telescope
|
||||||
-- https://github.com/nvim-telescope/telescope.nvim
|
-- https://github.com/nvim-telescope/telescope.nvim
|
||||||
return {
|
return {
|
||||||
"nvim-telescope/telescope.nvim",
|
"nvim-telescope/telescope.nvim", version = '*',
|
||||||
branch = "0.1.x",
|
|
||||||
dependencies = {
|
dependencies = {
|
||||||
"nvim-lua/plenary.nvim",
|
"nvim-lua/plenary.nvim",
|
||||||
-- C implementation of fzf to improve performance
|
-- C implementation of fzf to improve performance
|
||||||
|
|
@ -24,7 +23,6 @@ return {
|
||||||
-- Configure Telescope
|
-- Configure Telescope
|
||||||
config = function()
|
config = function()
|
||||||
local telescope = require("telescope")
|
local telescope = require("telescope")
|
||||||
local actions = require("telescope.actions")
|
|
||||||
|
|
||||||
telescope.setup({
|
telescope.setup({
|
||||||
defaults = {
|
defaults = {
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,7 @@ return {
|
||||||
-- Configure treesitter
|
-- Configure treesitter
|
||||||
config = function()
|
config = function()
|
||||||
---@diagnostic disable-next-line: missing-fields
|
---@diagnostic disable-next-line: missing-fields
|
||||||
local config = require("nvim-treesitter.configs")
|
local config = require("nvim-treesitter.config")
|
||||||
|
|
||||||
config.setup({
|
config.setup({
|
||||||
-- Enable color syntax
|
-- Enable color syntax
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue