summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-04-17Don't call syntax-ppss twice for strings ending with r.Evgeny Kurnevsky
2019-04-16Add test for word boundaries for string ending with r.Evgeny Kurnevsky
2019-04-15Don't insert string delimiter inside strings.Evgeny Kurnevsky
2019-03-04Merge pull request #298 from jjwest/masterFelix S Klock II
Add compilation mode warning face
2019-03-04Merge pull request #300 from ↵Felix S Klock II
mmilenko/rust-looking-back-macro--backward-char--fix Avoid signaling "Beginning of buffer" in rust-looking-back-macro
2019-03-01Reverted back to font-lock-fontify-bufferMiodrag Milenkovic
because emacs 24 doesn't know about font-lock-ensure
2019-03-01Added angle bracket tests, some of which fail without the fixMiodrag Milenkovic
2019-03-01Replaced font-lock-fontify-buffer with font-lock-ensureMiodrag Milenkovic
2019-03-01Merge pull request #293 from TristanCacqueray/masterFelix S Klock II
Add rust-run and rust-test interactive function
2019-02-28refer to (point-min) instead of 1Miodrag Milenkovic
2019-02-28Avoid signaling "Beginning of buffer" in rust-lookng-back-macroMiodrag Milenkovic
Also save some work if we don't have at least two characters behind us in the buffer, we know we can't be looking at a macro then. The signal occurs when one tries 'racer-describe' when positioned over "String", which eventually ends up calling (with-temp-buffer (insert "<Target=str>") (delay-mode-hooks (rust-mode)) (font-lock-ensure)) This simpler block will also trigger the error (with-temp-buffer (insert "<>") (rust-mode) (font-lock-ensure)) (font-lock-ensure) call ends up calling (rust-looking-back-macro).
2019-02-05Remove old commentJonas Westlund
2019-02-04Add compilation mode warning faceJonas Westlund
2019-01-25Merge pull request #296 from dekellum/indent-return-type-defcustomNiko Matsakis
Add rust-indent-return-type-to-arguments defcustom variable
2019-01-15Add rust-indent-return-type-to-arguments variableDavid Kellum
This preserves as default (t), the current indentation behavior of `-> ReturnType` when found on its own line: indenting as per the arguments of the above function. When disabled (nil) by the user, however, this will now just indent such a line one level from base-line (e.g. no special treatment). Includes a basic test.
2018-12-21Add rust-run and rust-test interactive functionTristan Cacqueray
This change adds a couple of useful commands similar to the rust-build function.
2018-12-18Merge pull request #292 from mookid/imenu-implFelix S Klock II
imenu: handle lifetimes in impl blocks.
2018-12-18imenu: handle lifetimes in impl blocks.Nathan Moreau
2018-10-08Merge pull request #284 from riscy/masterNiko Matsakis
adjust docstring formatting
2018-10-07adjust docstring formattingriscy
2018-10-02Merge pull request #266 from brotzeit/format-on-saveFelix S Klock II
throw error in after-save-hook instead of before-save-hook
2018-09-29silence byte-compilerbrotzeit
2018-09-29Merge pull request #281 from ksqsf/masterFelix S Klock II
Add keywords `async` and `try`
2018-09-04Add keywords `async` and `try`_rika
2018-06-26Merge pull request #267 from jthemphill/patch-1Niko Matsakis
Bump version
2018-06-18Merge pull request #272 from tromey/let-ref-font-lockNiko Matsakis
Fix font-locking of "let ref"
2018-06-07Fix font-locking of "let ref"Tom Tromey
Fixes #271
2018-04-23Bump versionJeff Hemphill
I'm still stuck on a version that's 1.5 years old!
2018-03-23throw error in after-save-hook instead of before-save-hookbrotzeit
2018-03-22Merge pull request #265 from brotzeit/infotypeNiko Matsakis
make rustc-colon-compilation-regexps an info type
2018-03-21make rustc-colon-compilation-regexps an info typebrotzeit
2018-03-03Merge pull request #263 from nikomatsakis/tweak-compilation-regexpNiko Matsakis
remove old-style compilation regex; support `:::` regex
2018-03-03update to include line number and column informationNiko Matsakis
2018-03-03remove old-style compilation regex; support `:::` regexNiko Matsakis
2018-02-21Merge pull request #264 from jjwest/masterNiko Matsakis
Fixed indent when ? operator is used in chained method calls
2018-02-15Fixed indent when ? operator is used in chained method callsJonas Westlund
2018-02-15Merge pull request #253 from jjwest/masterNiko Matsakis
Improved font-locking for print macros
2018-02-15Merge pull request #262 from kngwyu/highlight-dynNiko Matsakis
add dyn to keywords
2018-02-12add dyn to keywordskngwyu
2018-01-09Merge pull request #258 from sebastiencs/masterTom Tromey
Do not indent where clause by default (follow standard) #257
2018-01-09Do not indent where clause by default (follow standard) #257Sebastien Chapuis
2017-12-08Improved font-locking for print macrosJonas Westlund
2017-12-08Merge pull request #251 from brotzeit/rust-format-bufferTom Tromey
don't set-window-start for selected window
2017-12-07Merge pull request #249 from brotzeit/rust--format-callTom Tromey
fix rust--format-call
2017-11-24don't set-window-start for selected windowbrotzeit
2017-11-18fix rust--format-callbrotzeit
2017-11-06Merge pull request #244 from kubo39/percent-as-punctuation-characterTom Tromey
% as punctuation character.
2017-11-06% as punctuation character.Hiroki Noda
2017-10-13Merge pull request #243 from iwillspeak/rust-compile-commandNiko Matsakis
Revert #216 and Add Suggestions from #226
2017-10-03Revert #216 and Add Suggestions from #226Will Speak
This reverts the `setq-local` for `compile-command` and replaces it with a function which can be used to invoke compile with `"cargo build"` as the compile command.