aboutsummaryrefslogtreecommitdiff
path: root/modules/textadept
diff options
context:
space:
mode:
Diffstat (limited to 'modules/textadept')
-rw-r--r--modules/textadept/adeptsense.lua2
-rw-r--r--modules/textadept/menu.lua8
-rw-r--r--modules/textadept/mime_types.conf3
3 files changed, 8 insertions, 5 deletions
diff --git a/modules/textadept/adeptsense.lua b/modules/textadept/adeptsense.lua
index 138be601..bcdb0094 100644
--- a/modules/textadept/adeptsense.lua
+++ b/modules/textadept/adeptsense.lua
@@ -116,7 +116,7 @@ module('_m.textadept.adeptsense', package.seeall)
-- sense.completions = {
-- ['class1'] = {
-- functions = { 'fun1', 'fun2', ...},
--- fields = = { 'f1', 'f2', ... }
+-- fields = { 'f1', 'f2', ... }
-- },
-- ['class2'] = ...,
-- ...
diff --git a/modules/textadept/menu.lua b/modules/textadept/menu.lua
index 23745e65..c74a6c92 100644
--- a/modules/textadept/menu.lua
+++ b/modules/textadept/menu.lua
@@ -218,8 +218,8 @@ menubar = {
},
},
{ title = L('_Buffer'),
- { L('_Next Buffer'), { 'goto_buffer', v, 1, false } },
- { L('_Previous Buffer'), { 'goto_buffer', v, -1, false } },
+ { L('_Next Buffer'), { _view.goto_buffer, _view, 1, false } },
+ { L('_Previous Buffer'), { _view.goto_buffer, _view, -1, false } },
{ L('Switch _Buffer'), gui.switch_buffer },
SEPARATOR,
{ L('Toggle View _EOL'), { toggle_setting, 'view_eol' } },
@@ -257,8 +257,8 @@ menubar = {
{ L('_Next View'), { gui.goto_view, 1, false } },
{ L('_Previous View'), { gui.goto_view, -1, false } },
SEPARATOR,
- { L('Split _Vertical'), { 'split', v } },
- { L('Split _Horizontal'), { 'split', v, false } },
+ { L('Split _Vertical'), { _view.split, _view } },
+ { L('Split _Horizontal'), { _view.split, _view, false } },
{ L('_Unsplit'), function() view:unsplit() end },
{ L('Unsplit _All'), function() while view:unsplit() do end end },
SEPARATOR,
diff --git a/modules/textadept/mime_types.conf b/modules/textadept/mime_types.conf
index 6981743d..d61f4294 100644
--- a/modules/textadept/mime_types.conf
+++ b/modules/textadept/mime_types.conf
@@ -72,6 +72,9 @@ cmake.in cmake
ctest cmake
ctest.in cmake
+% CoffeeScript
+coffee coffeescript
+
% CSS
css css