AdamNiederer / AdamNiederer/vue-mode

Struggling to disable auto-quoting inside vue templates

Aberta
#95 1 comentário 0 reações 0 responsáveis Ver no GitHub
Linguagem predominante
Emacs Lisp
Estrelas
341
Forks
59
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

Hi. I love your plugin, but I'm struggling with one of its features. (I'm not an emacs expert, so the solution isn't very obvious to me).

### Problem
When writing HTML templates, I often need to add quotes for HTML attributes. When I press the `"` key, `"` is inserted into the code. This feature is very frustrating and I'd like to disable it so that `"` is inserted instead.

### Attempted fix
I thought this might somehow be related to web-mode, so I tried [disabling auto-quoting](https://emacs.stackexchange.com/questions/28087/turn-off-auto-quotes-in-web-mode).
```
(setq web-mode-enable-auto-quoting nil)
```
This didn't work.

### Temporary workaround
I've been using `C-q "` to insert raw quotes.

### Conclusion
How do I disable this "auto quoting" feature in `vue-mode`?

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Direção de pesquisa

No source file or test is named. Start by locating the quote-handling entry point in vue-mode and checking whether it delegates to web-mode; confirm why the shown web-mode setting has no effect. Done means providing a configurable way for Vue templates to insert literal quotes instead of encoded quotes.

Escrita pelo modelo de indexação a partir do texto da issue.

Avaliação

Stack de tecnologia
emacs, emacs-lisp
Domínio
tooling
Tipo de issue
Funcionalidade
Dificuldade
3/5
Tempo estimado
1-2 dias
Status de atividade
Estagnada
Clareza
Razoavelmente clara
Facilidade para iniciantes
35/100

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.