nvim-lua/wishlist

Heuristically set buffer options

Open

#19 ouverte le 24 avr. 2021

Voir sur GitHub
 (3 commentaires) (11 réactions) (0 assignés) (0 forks)github user discovery
help wantedidea

Métriques du dépôt

Stars
 (249 stars)
Métriques de merge PR
 (Métriques PR en attente)

Description

What? This plugin automatically adjusts 'shiftwidth' and 'expandtab' heuristically based on the current file.

Why? When you work with several projects, it is not very convenient to manually set formatting parameters. It would be nice to be able to define these options automatically.

Potential existing implementations: This functionality is provided by default in VSCode. There is also a great plugin https://github.com/tpope/vim-sleuth, but it is written in Vimscript and can slow down the editor.

Potential pitfalls: It would be nice to implement this feature async.

Guide contributeur