feat(nvim): added python path
This commit is contained in:
		
							parent
							
								
									dbaeb81cd1
								
							
						
					
					
						commit
						4c922760d8
					
				
							
								
								
									
										7
									
								
								init.lua
								
								
								
								
							
							
						
						
									
										7
									
								
								init.lua
								
								
								
								
							| 
						 | 
					@ -43,6 +43,11 @@ P.S. You can delete this when you're done too. It's your config now :)
 | 
				
			||||||
vim.g.mapleader = ' '
 | 
					vim.g.mapleader = ' '
 | 
				
			||||||
vim.g.maplocalleader = ' '
 | 
					vim.g.maplocalleader = ' '
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					vim.g.python3_host_prog = os.getenv 'HOME' .. '/.virtualenvs/neovim3/bin/python'
 | 
				
			||||||
 | 
					vim.g.python_host_prog = os.getenv 'HOME' .. '/.virtualenvs/neovim3/bin/python3.10'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					-- The line beneath this is called `modeline`. See `:help modeline`
 | 
				
			||||||
 | 
					-- vim: ts=2 sts=2 sw=2 et
 | 
				
			||||||
-- Install package manager
 | 
					-- Install package manager
 | 
				
			||||||
--    https://github.com/folke/lazy.nvim
 | 
					--    https://github.com/folke/lazy.nvim
 | 
				
			||||||
--    `:help lazy.nvim.txt` for more info
 | 
					--    `:help lazy.nvim.txt` for more info
 | 
				
			||||||
| 
						 | 
					@ -497,7 +502,7 @@ mason_lspconfig.setup_handlers {
 | 
				
			||||||
      settings = servers[server_name],
 | 
					      settings = servers[server_name],
 | 
				
			||||||
      filetypes = (servers[server_name] or {}).filetypes,
 | 
					      filetypes = (servers[server_name] or {}).filetypes,
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
  end
 | 
					  end,
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
-- [[ Configure nvim-cmp ]]
 | 
					-- [[ Configure nvim-cmp ]]
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue