#neovim file not detected

1 messages · Page 1 of 1 (latest)

paper iris
#

Very helpful description

fringe quarry
#

yep

paper iris
#

I'm telling you to explain the problem

fringe quarry
#

Okay

paper iris
#

I need to sleep soon so if someone else tries to help they won't have any context

fringe quarry
#

i open the folder of my project

#

Only one python file gets detected i guess so lsp doesnt attach to the other file

#

and when i manually :LspStart , syntax higlihting is not here on that file

#

for the other file it works

paper iris
#

Syntax highlighting is not LSP

#

It's treesitter

fringe quarry
#

yes im saying Both doesnt work

paper iris
#

What's your config?

fringe quarry
#

Lazyvim starter + Venvselector plugin

#

was going to config it but couldn't cause of this issue

#

Fixed : moved file and reput it there

#

somehow it worked

#

💀

paper iris
#

You could always run :set ft=python as well

fringe quarry
paper iris
#

That'll temporarily set the file type to by python

#

Should fix the syntax highlights but not sure if lsp

#

Also, I thought pyright was a static type checker not an lsp?

fringe quarry
#

idk

paper iris
fringe quarry
paper iris
#

Check out ruff server

fringe quarry
#

Okay I'll check that out

fringe quarry
#

got ruff and ruff lsp

#

gonna check it out now

fringe quarry
#

it runs in single file tho weirdly

paper iris
#

What

paper iris
fringe quarry
paper iris
#

ruff is the new one

#

ruff-lsp is the old one

#

They're planning to deprecate ruff-lsp soon