Compare commits

...

5 Commits

Author SHA1 Message Date
iGor milhit f38196b573
config: remove the python virtualenv
- Removes the python virtualenv has pynvim is installed through uv and
  manages itself the virtual environment.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2026-02-18 11:21:56 +01:00
iGor milhit 47eb5c5f1d
lsp: add lsp and linter for typescript
Co-Authored-by: iGor milhit <igor@milhit.ch>
2026-02-18 11:11:53 +01:00
iGor milhit 5c9c87d0c4
config: fix the python venv path
Co-Authored-by: iGor milhit <igor@milhit.ch>
2026-02-18 11:11:53 +01:00
iGor milhit 7ed9489460
wip config: python provider
Co-Authored-by: iGor milhit <igor@milhit.ch>
2026-02-18 11:11:53 +01:00
iGor milhit 81979d0537
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>
2026-02-18 10:52:49 +01:00
7 changed files with 9 additions and 17 deletions

View File

@ -25,8 +25,8 @@ This new configuration is written with the help of:
## Python provider
I'm using a virtual environment for the python provider, as the
[documentation][7], using `pyenv`.
I'm *not* using virtual environment for the python provider, as the
[documentation][7] explain, installating `pynvim` through `uv`.
## Structure

View File

@ -1,4 +1,3 @@
-- Load all module files
require("core.python-provider")
require("core.keymaps")
require("core.options")

View File

@ -1,4 +0,0 @@
-- Set a virtualenv as python provider
-- https://neovim.io/doc/user/provider.html#python-virtualenv
vim.g.python3_host_prog = "/home/igor/.pyenv/versions/py-nvim3.10/bin/python"

View File

@ -31,10 +31,12 @@ return {
require("mason-lspconfig").setup({
ensure_installed = {
"cssls",
"eslint",
"html",
"jsonls",
"lua_ls",
"marksman",
"ts_ls",
"ty",
"ruff",
"yamlls",

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