new: Make nvim work nicely with python venvs
This commit is contained in:
parent
df5ac44769
commit
da9612a94b
1 changed files with 4 additions and 0 deletions
|
@ -1,6 +1,7 @@
|
|||
-- This file defines all the global config
|
||||
local set = vim.opt
|
||||
local g = vim.g
|
||||
local fn = vim.fn
|
||||
|
||||
-- Turn on numbers
|
||||
set.number = true
|
||||
|
@ -29,3 +30,6 @@ set.spelllang = { "en", "programming" }
|
|||
g.loaded_perl_provider = 0
|
||||
g.loaded_node_provider = 0
|
||||
g.loaded_ruby_provider = 0
|
||||
|
||||
-- Make nvim work nicely with python venvs
|
||||
g.python3_host_prog = fn.system("which -a python3 | head -n2 | tail -n1 | tr -d '[:space:]'")
|
||||
|
|
Loading…
Reference in a new issue