Comments (4)
@s9gf4ult I'll try to look at this. But you should kknow that I'll never try to replace php-mode. Declaring a function in a template is a little strange.
from web-mode.
@s9gf4ult could you put your entire file on https://gist.github.com/ please
from web-mode.
Declaring a function in a template is a little strange
This is not realy a function, this is a mediawiki's special page, quick and dirty.
Here is file https://gist.github.com/s9gf4ult/5162805
This may be not exactly the same file I was edited, but the function execute
is exactly the same and indentation fails inside the switch/case expression in it.
from web-mode.
I've committed a small fix ... the indentation is just a little bit better but not perfect.
from web-mode.
Related Issues (20)
- HTML attributes misaligned on different lines HOT 3
- JavaScript file variation HOT 3
- Need to constantly use `web-mode-dom-normalize` HOT 5
- Is there a variable to set the color of left fringe HOT 3
- Incorrect indentation in blade templates HOT 4
- use of save-mark-and-excursion requires more recent version of emacs than declared HOT 1
- After latest changes cannot apply web-mode HOT 11
- You can't use atomic group in PHP regex HOT 1
- Underlines break Ruby code indentation for parenthesis-less method calls HOT 1
- Keybinding for django template comment HOT 2
- Weird error in JSX when using a comma after a tag HOT 2
- Incorrect indentention and highlight in blade templates HOT 2
- Custom variables marked as :safe are considered unsafe when loading file local variables on startup HOT 1
- Feature support: freemarker [=expression] interpolation syntax HOT 1
- RFE: support Pandoc HTML template syntax HOT 4
- Indent offset not respected when pressing `tab` on a marked region HOT 2
- Error in JSX when using self closing div tag HOT 1
- Error in tabulation and syntax highlighting in the blade engine HOT 1
- Indentation error for JSX fragment HOT 10
- Blade: `@if` with following space: condition not highlighted HOT 1
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 web-mode.