mirror of
https://github.com/atom/atom.git
synced 2026-01-25 14:59:03 -05:00
Use java mode when extension is java
This commit is contained in:
@@ -174,6 +174,7 @@ class Buffer
|
||||
when 'c', 'h', 'cpp' then 'c_cpp'
|
||||
when 'html', 'htm' then 'html'
|
||||
when 'css' then 'css'
|
||||
when 'java' then 'java'
|
||||
else 'text'
|
||||
|
||||
@mode = new (require("ace/mode/#{modeName}").Mode)
|
||||
|
||||
Reference in New Issue
Block a user