From cf34340f3c2d878af0982dd4d3cb285f97883362 Mon Sep 17 00:00:00 2001
From: SinTan1729 <sayantan.santra689@gmail.com>
Date: Wed, 19 Mar 2025 18:33:37 -0500
Subject: [PATCH] chg: Switch to ruff for python lsp

---
 laptop/plugin/lsp_config.lua | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/laptop/plugin/lsp_config.lua b/laptop/plugin/lsp_config.lua
index 8fec1b5..c568e0b 100644
--- a/laptop/plugin/lsp_config.lua
+++ b/laptop/plugin/lsp_config.lua
@@ -1,12 +1,10 @@
 local lspconfig = require('lspconfig')
 local map = vim.keymap.set
 
-lspconfig.pyright.setup({
-    settings = {
-        python = {
-            analysis = {
-                typeCheckingMode = "off"
-            }
+lspconfig.ruff.setup({
+    init_options = {
+        settings = {
+            lineLength = 100,
         }
     }
 })