Comments (2)
Sorry for taking so long to get to this. I'm trying to reproduce this and don't quite understand what the problem is. I've tried this myself and they both appear to indent correctly.
Mind you, I've remapped newline
to newline-and-indent
, like so:
(global-set-key [remap newline] #'newline-and-indent)
I've tried it with newline
+ TAB, but I get the same results. What am I looking for?
from emacs-pug-mode.
You're right, the problem only happens one level of nesting deep. For example, try this:
#firstExampleDiv
#secondExampleDiv
Now try indenting below #secondExampleDiv
and it'll put the cursor at the same level as #secondExampleDiv
, whereas I would like to have the option to indent into #secondExampleDiv
from emacs-pug-mode.
Related Issues (20)
- Unable to indent a line when there is a class name in the previous one HOT 2
- Piped text is being highlighted HOT 7
- Problem with interpolated tags and attributes HOT 2
- ".com" is getting highlighted in certain cases HOT 1
- Small elements inside headings are not being indented HOT 5
- "+" Key is working as TAB for indentation but also adds the "+" sign HOT 2
- Consider reworking as a minor mode? HOT 1
- Comments are not highlighted as comments. HOT 6
- Add support for unbuffered comments. HOT 2
- pug-comment-block in visual mode HOT 4
- Error on emacs 25.3 HOT 1
- License issue: must use the same license as slim-mode HOT 1
- how to adujst indentation? HOT 2
- Handle long lines? HOT 1
- Support for multi-line attributes
- [low priority] "cannot read property 'length' of undefined"
- "in" keyword is not being recognized HOT 3
- Electric backspace issue when deleting whitespace HOT 4
- Highlight tags when doing interpolation
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 emacs-pug-mode.