---
title: "💭 My New Python Lsp Setup"
description: "!None"
date: 2024-03-09
published: true
tags:
  - python
  - nvim
  - thought
template: link
---


<!-- embed not found: None -->
![[None]]

I figured out the killer combination for python lsp servers, ruff and jedi!  ruff does all of the diagnostics and formatting, then jedi handles all the code objects like go to definition and go to reference.

``` lua
	local servers = {
		ruff_lsp = {},
		jedi_language_server = {},
}
```

!!! note

    This post is a <a href="/thoughts/" class="wikilink" data-title="Thoughts" data-description="These are generally my thoughts on a web page or some sort of url, except a rare few don&#39;t have a link. These are dual published off of my..." data-date="2024-04-01">thought</a>. It's a short note that I make
    about someone else's content online <a href="/tags/thoughts/" class="hashtag-tag" data-tag="thoughts" data-count=2 data-reading-time=3 data-reading-time-text="3 minutes">#thoughts</a>
