Python LSP base configuration for Neovim
This commit is contained in:
parent
7f7120914f
commit
6f4d847d16
2 changed files with 8 additions and 1 deletions
|
@ -4,7 +4,7 @@ require("nvchad.configs.lspconfig").defaults()
|
||||||
local lspconfig = require "lspconfig"
|
local lspconfig = require "lspconfig"
|
||||||
|
|
||||||
-- EXAMPLE
|
-- EXAMPLE
|
||||||
local servers = { "html", "cssls" }
|
local servers = { "basedpyright" }
|
||||||
local nvlsp = require "nvchad.configs.lspconfig"
|
local nvlsp = require "nvchad.configs.lspconfig"
|
||||||
|
|
||||||
-- lsps with default config
|
-- lsps with default config
|
||||||
|
|
|
@ -19,6 +19,10 @@
|
||||||
pacman_packages:
|
pacman_packages:
|
||||||
- python-pipx
|
- python-pipx
|
||||||
|
|
||||||
|
pipx_packages:
|
||||||
|
- poetry
|
||||||
|
- basedpyright
|
||||||
|
|
||||||
macos_fish_path: /usr/local/bin/fish
|
macos_fish_path: /usr/local/bin/fish
|
||||||
arch_fish_path: /usr/bin/fish
|
arch_fish_path: /usr/bin/fish
|
||||||
|
|
||||||
|
@ -51,6 +55,9 @@
|
||||||
become: true
|
become: true
|
||||||
when: is_arch
|
when: is_arch
|
||||||
|
|
||||||
|
- name: Install pipx packages
|
||||||
|
ansible.builtin.command: pipx install {{ pipx_packages|join(' ') }}
|
||||||
|
|
||||||
- name: Set fish as default shell
|
- name: Set fish as default shell
|
||||||
become: true
|
become: true
|
||||||
ansible.builtin.user:
|
ansible.builtin.user:
|
||||||
|
|
Loading…
Reference in a new issue