Comments (6)
prettier
is not used for formatting Python files. I have python
, prettier
and black
Extras all enabled and LazyFormatInfo
and ConformInfo
show that black
is being used for formatting. Are you sure you're not doing anything wrong on your end?
from lazyvim.
have you even tried to reproduce?
from lazyvim.
@bartheerman as @dpetka2001 says, prettier is NOT a formatter for python.
You probably added this to conform yourself, which obviously won't work
from lazyvim.
I enabled the formatting.prettier extra. And formatting.black is disabled. What is actually used when the formatting.prettier extra is enabled is unknown to me. Therefor I name it prettier. As black is used in formatting.black.
But it is ok. I just disable the formatting.prettier to resolve the issue.
So I did not add anything nor do I have a need to conform myself. But still, it was broken.
from lazyvim.
You should name it whatever :LazyFormatInfo
and :ConformInfo
shows. You haven't said what these commands show for you. For me it was showing black
and ruff_lsp
as fallback.
from lazyvim.
Formatters for this buffer:
LSP: pylsp, ruff_lsp
from lazyvim.
Related Issues (20)
- bug: settings for outline.nvim cause symbol search crash HOT 2
- bug: debugging C# with omnisharp - netcoredbg.CMD exited with code: 1
- bug: weird keymap error HOT 3
- feature: use which-keys new dynamic `desc` and `icon` for the ui toggles HOT 3
- bug: telescope require `fd` when find files HOT 1
- bug: Mason package path not found for debugpy HOT 7
- bug: "fzf project " does not set pwd to the project path, which is different with what "telescope project" do. HOT 2
- feature: correctly overriding core plugin mini.ai
- bug: rust codelens is not complete HOT 1
- bug: lsp keymaps calling functions rather than passing function HOT 1
- bug: Mason plugin doesn't install mason-registry HOT 3
- bug: Error with nvim-cmp HOT 3
- feature: allow for overriding keymaps of dial.nvim
- bug: Can't Select Items on cmp HOT 1
- bug: Ctrl-n and Ctrl-p to go through suggestions not working anymore. HOT 2
- bug: cursor abnormal HOT 2
- bug: WARNING prettier unavailable: Condition failed
- feature: Do not update plug-ins repeatedly HOT 4
- feature: Expose a function to "process" a `toggle` to the users HOT 18
- bug: yanky extra breaks `<` and `>` in neo-tree HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lazyvim.