From 9245b7b823fb3faa17802d614d0292c42a9af0b1 Mon Sep 17 00:00:00 2001 From: aleidk Date: Thu, 27 Jun 2024 15:01:58 -0400 Subject: [PATCH] update nvim python support --- chezmoi/dot_config/nvim/lua/aleidk/plugins/linters.lua | 2 +- chezmoi/dot_config/nvim/lua/aleidk/plugins/mason.lua | 1 + chezmoi/executable_dot_zprofile.tmpl | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/chezmoi/dot_config/nvim/lua/aleidk/plugins/linters.lua b/chezmoi/dot_config/nvim/lua/aleidk/plugins/linters.lua index c9b9f61..ede5ade 100644 --- a/chezmoi/dot_config/nvim/lua/aleidk/plugins/linters.lua +++ b/chezmoi/dot_config/nvim/lua/aleidk/plugins/linters.lua @@ -13,7 +13,7 @@ return { javascriptreact = { "eslint_d" }, typescriptreact = { "eslint_d" }, -- astro = { "eslint_d" }, - python = { "pyright" }, + python = { "pylint" }, sh = { "shellcheck" }, NeogitCommitMessage = { "gitlint" }, gitcommit = { "gitlint" }, diff --git a/chezmoi/dot_config/nvim/lua/aleidk/plugins/mason.lua b/chezmoi/dot_config/nvim/lua/aleidk/plugins/mason.lua index b338a67..7cfd77d 100644 --- a/chezmoi/dot_config/nvim/lua/aleidk/plugins/mason.lua +++ b/chezmoi/dot_config/nvim/lua/aleidk/plugins/mason.lua @@ -6,6 +6,7 @@ return { opts = { ensure_installed = { "blue", + "pylint", "eslint_d", "markdownlint", "nimlsp", diff --git a/chezmoi/executable_dot_zprofile.tmpl b/chezmoi/executable_dot_zprofile.tmpl index 74907d3..27f5a25 100644 --- a/chezmoi/executable_dot_zprofile.tmpl +++ b/chezmoi/executable_dot_zprofile.tmpl @@ -16,6 +16,7 @@ export OPENAI_API_KEY="{{ .openAIKey }}" export NPM_PACKAGES="$HOME/.npm-packages" export NODE_PATH="$NPM_PACKAGES/lib/node_modules${NODE_PATH:+:$NODE_PATH}" export PNPM_HOME="$HOME/.local/share/pnpm" +export ESLINT_USE_FLAT_CONFIG=true . "$HOME/.cargo/env" # Unset manpath so we can inherit from /etc/manpath via the `manpath`