From 8b27242da3ff7e4aebadd85222d89b762a1e69a0 Mon Sep 17 00:00:00 2001 From: Sagar Patel Date: Fri, 15 May 2020 22:47:54 -0400 Subject: [PATCH 1/2] add a command and a function --- gnuplot.tmLanguage | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gnuplot.tmLanguage b/gnuplot.tmLanguage index 1101c0d..99ab709 100644 --- a/gnuplot.tmLanguage +++ b/gnuplot.tmLanguage @@ -188,13 +188,13 @@ comment missuse of scopes alert! Just for pretty colours match - \b(cd|call|clear|exit|plot|splot|help|load|pause|quit|fit|replot|if|FIT_LIMIT|FIT_MAXITER|FIT_START_LAMBDA|FIT_LAMBDA_FACTOR|FIT_LOG|FIT_SCRIPT|print|pwd|reread|reset|save|show|test|!|functions|var)\b + \b(cd|call|clear|else|exit|plot|splot|help|load|pause|quit|fit|replot|if|FIT_LIMIT|FIT_MAXITER|FIT_START_LAMBDA|FIT_LAMBDA_FACTOR|FIT_LOG|FIT_SCRIPT|print|pwd|reread|reset|save|show|test|!|functions|var)\b name keyword.other.command.gnuplot match - \b(abs|acos|acosh|arg|asin|asinh|atan|atan2|atanh|besj0|besj1|besy0|besy1|ceil|cos|cosh|erf|erfc|exp|floor|gamma|ibeta|igamma|imag|int|inverf|invnorm|lambertw|lgamma|log|log10|norm|rand|real|sgn|sin|sinh|sqrt|tan|tanh)\b + \b(abs|acos|acosh|arg|asin|asinh|atan|atan2|atanh|besj0|besj1|besy0|besy1|ceil|cos|cosh|erf|erfc|exists|exp|floor|gamma|ibeta|igamma|imag|int|inverf|invnorm|lambertw|lgamma|log|log10|norm|rand|real|sgn|sin|sinh|sqrt|tan|tanh)\b name support.function.gnuplot @@ -393,7 +393,7 @@ match \s*(==|~=|>|>=|<|<=|&|&&|:|\||\|\||\+|-|\*|\.\*|/|\./|\\|\.\\|\^|\.\^)\s* name - keyword.operator.symbols.matlab + keyword.operator.symbols.gnuplot string_double From abd21d4664951a0d0b7ab691379b46db26af249a Mon Sep 17 00:00:00 2001 From: Sagar Patel Date: Fri, 15 May 2020 22:48:04 -0400 Subject: [PATCH 2/2] spelling --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 7dfc01e..d749f9e 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ This package aims to provide a support for creating nice figures with gnuplot in * Script execution -- pressing `cmd+b` on Mac OS X, `ctrl+b` on Linux/Windows * Toggle Comments -- pressing `cmd+/` on Mac OS X, `ctrl+/` on Linux/Windows [Leandro Heck](https://github.com/leoheck) * Jump to the location of an error, should one occur when running gnuplot [AJMansfield](https://github.com/AJMansfield) -* Autocomplition for set [joebarker87](https://github.com/joebarker87) +* Autocompletion for set [joebarker87](https://github.com/joebarker87) # Installation @@ -13,7 +13,7 @@ Sublime Gnuplot can be installed via [Package Controll](https://sublime.wbond.ne ## Installing via Package Control -To install Sublime Gnuplot via [Package Controll](https://sublime.wbond.net/installation), follow these steps: +To install Sublime Gnuplot via [Package Control](https://sublime.wbond.net/installation), follow these steps: 1. Open the Command Palette (`cmd+shift+p` on Mac OS X, `ctrl+shift+p` on Linux/Windows). 2. Type `install` and select `Package Control: Install Package` from the Command Palette. There will be a pause of a few seconds while Package Control finds the available packages.