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
iGor milhit 2026-02-17 11:28:49 +01:00
parent 8c222d187d
commit 81979d0537
Signed by: igor
GPG Key ID: 692D97C3D0228A99
3 changed files with 5 additions and 10 deletions

View File

@ -23,11 +23,10 @@ return {
config = function ()
require('mkdnflow').setup({
filetypes = {
md = true,
rmd = true,
qmd = true,
markdown = true,
pandoc = true
pandoc = true,
qmd = true,
rmd = true,
},
perspective = {
-- Ensure that paths are relative to the current file
@ -47,14 +46,12 @@ tags: []
---
]],
placeholders = {
before = {
date = function ()
return os.date("%Y-%m-%dT%H:%M:%S%z")
end,
id = function ()
return os.date("%Y%m%d%H%M%S")
end
},
}
}
})

View File

@ -1,8 +1,7 @@
-- Install and configure Telescope
-- https://github.com/nvim-telescope/telescope.nvim
return {
"nvim-telescope/telescope.nvim",
branch = "0.1.x",
"nvim-telescope/telescope.nvim", version = '*',
dependencies = {
"nvim-lua/plenary.nvim",
-- C implementation of fzf to improve performance
@ -24,7 +23,6 @@ return {
-- Configure Telescope
config = function()
local telescope = require("telescope")
local actions = require("telescope.actions")
telescope.setup({
defaults = {

View File

@ -26,7 +26,7 @@ return {
-- Configure treesitter
config = function()
---@diagnostic disable-next-line: missing-fields
local config = require("nvim-treesitter.configs")
local config = require("nvim-treesitter.config")
config.setup({
-- Enable color syntax