diff --git a/README.md b/README.md index b7beba7f..179484a7 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ You can also check out the website for Micro at https://micro-editor.github.io. - [MacOS terminal](#macos-terminal) - [Linux clipboard support](#linux-clipboard-support) - [Colors and syntax highlighting](#colors-and-syntax-highlighting) - - [Plan9, Cygwin](#plan9-cygwin) + - [Plan9, Cygwin, Mingw](#plan9-cygwin-mingw) - [Usage](#usage) - [Documentation and Help](#documentation-and-help) - [Contributing](#contributing) @@ -143,6 +143,9 @@ recommended because it doesn't build micro with version information, and doesn't If you are using MacOS, you should consider using [iTerm2](http://iterm2.com/) instead of the default Mac terminal. The iTerm2 terminal has much better mouse support as well as better handling of key events. For best keybinding behavior, choose `xterm defaults` under `Preferences->Profiles->Keys->Load Preset`. The newest versions also support true color. +If you still insist on using the default Mac terminal, be sure to set `Use Option key as Meta key` under +`Preferences->Profiles->Keyboard` to use option as alt. + ### Linux clipboard support On Linux, clipboard support requires the 'xclip' or 'xsel' commands to be installed. diff --git a/runtime/syntax/julia.yaml b/runtime/syntax/julia.yaml index ecda7c81..1c81356b 100644 --- a/runtime/syntax/julia.yaml +++ b/runtime/syntax/julia.yaml @@ -13,7 +13,7 @@ rules: # definitions - identifier: "[A-Za-z_][A-Za-z0-9_]*[[:space:]]*[(]" # keywords - - statement: "\\b(begin|break|catch|continue|function|elseif|struct|else|end|finally|for|global|local|let|const|if|import|using|macro|println|return|try|while|module)\\b" + - statement: "\\b(begin|break|catch|continue|function|elseif|struct|else|end|finally|for|global|local|let|const|if|import|export|using|macro|println|return|try|while|module)\\b" # decorators - identifier.macro: "@[A-Za-z0-9_]+" # operators