mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-10-13 13:13:03 +00:00
Update NEWS, version number to 0.12, and snippets submodule
* NEWS: Update for 0.12 changes. * snippets/: Update to latest. * yasnippet-debug.el: * yasnippet-tests.el: * yasnippet.el: Update copright years. Update version number to 0.12.0.
This commit is contained in:
parent
2a3a0cd2b1
commit
75cbf7251b
82
NEWS
82
NEWS
@ -3,8 +3,88 @@ Yasnippet NEWS -- history of user-visible changes.
|
|||||||
Copyright (C) 2016 Free Software Foundation, Inc.
|
Copyright (C) 2016 Free Software Foundation, Inc.
|
||||||
See the end of the file for license conditions.
|
See the end of the file for license conditions.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Don't delete snippets more than once.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
* 0.12.0 (Jul 17, 2017)
|
||||||
|
|
||||||
|
** Changes and New Features
|
||||||
|
|
||||||
|
*** Snippets can now expand in strings & comments by default again.
|
||||||
|
'yas-buffer-local-condition' is now a defcustom See Github #774.
|
||||||
|
|
||||||
|
*** 'yas-after-exit-snippet-hook' can now be bound in 'expand-env' of
|
||||||
|
snippets. See Github #28, #702, #779, #786.
|
||||||
|
|
||||||
|
*** Snippets under directories in 'yas-snippet-dirs' are now in
|
||||||
|
snippet-mode automatically.
|
||||||
|
|
||||||
|
*** Snippets can now be expanded in org source blocks, if
|
||||||
|
'org-src-tab-acts-natively' and 'org-src-fontify-natively' are set.
|
||||||
|
See Github #761.
|
||||||
|
|
||||||
|
*** 'yas-fallback-behavior' is now obsolete, 'yas-expand' is now bound
|
||||||
|
conditionally with an extended menu item, 'yas-maybe-expand'.
|
||||||
|
Therefore users wanting to bind 'yas-expand' to a different key, SPC
|
||||||
|
for example, should do
|
||||||
|
|
||||||
|
(define-key yas-minor-mode-map (kbd "SPC") yas-maybe-expand)
|
||||||
|
|
||||||
|
See Github #760, #808.
|
||||||
|
|
||||||
|
*** The documentation build output is now reproducible. The timestamp
|
||||||
|
now depends on the commit date, or the environment variable
|
||||||
|
SOURCE_DATE_EPOCH is that is set.
|
||||||
|
|
||||||
|
*** 'yas-indent-line' and 'expand-env' are now respected during mirror
|
||||||
|
updates. See Github #743.
|
||||||
|
|
||||||
|
*** New function 'yas-active-snippets'. Renamed from
|
||||||
|
'yas--snippets-at-point', which remains as an obsolete alias. See
|
||||||
|
Github #727.
|
||||||
|
|
||||||
|
*** New custom option 'yas-overlay-priority'. This is can be used to
|
||||||
|
give the snippet navigation keymaps higher priority than keymaps from
|
||||||
|
overlays created by other packages, like 'auto-complete'. See Github
|
||||||
|
#828.
|
||||||
|
|
||||||
|
** Fixed bugs
|
||||||
|
|
||||||
|
*** Snippets having ${0:soon-to-be-deleted} with no other fields now
|
||||||
|
correctly put the field 0 text in the active region after exiting.
|
||||||
|
See Github #653.
|
||||||
|
|
||||||
|
*** Fix undo of snippet insertion which also triggers indentation.
|
||||||
|
See Github #821.
|
||||||
|
|
||||||
|
*** Fixed a bug causing whitespace loss between mirrors.
|
||||||
|
|
||||||
|
*** Fixed several bugs causing problems when combining Yasnippet with
|
||||||
|
other modes and packages, like 'auto-fill-mode', 'c++-mode',
|
||||||
|
'rust-mode', and 'lentic'.
|
||||||
|
|
||||||
|
**** Fix another bug with auto-fill-mode.
|
||||||
|
See Github #784, #794.
|
||||||
|
|
||||||
|
**** Fix a bug in parsing of snippet fields for modes that use the
|
||||||
|
'syntax-table' text property, 'c++-mode' is one example of this. See
|
||||||
|
Github #815.
|
||||||
|
|
||||||
|
**** 'syntax-propertize-function' is now restored before indenting the
|
||||||
|
snippet. This improves compatibility with modes which rely on it for
|
||||||
|
indentation, like 'rust-mode'. See Github #782, #818.
|
||||||
|
|
||||||
|
**** Avoid trying to delete a snippet which is already deleted. This
|
||||||
|
prevents an error when using 'rust-mode's 'rust-format-buffer'
|
||||||
|
command.
|
||||||
|
|
||||||
|
**** Ensure inhibit-modification-hooks is nil while modifying buffer.
|
||||||
|
This fixes problems for packages relying on modification hooks, like
|
||||||
|
'lentic'. See Github #756, #712.
|
||||||
|
|
||||||
|
|
||||||
* 0.11.0 (Oct 26, 2016)
|
* 0.11.0 (Oct 26, 2016)
|
||||||
** Changes and New Features
|
** Changes and New Features
|
||||||
|
|
||||||
|
2
snippets
2
snippets
@ -1 +1 @@
|
|||||||
Subproject commit e56b8838ab2866537937c6f25c8e9b3dc1c24880
|
Subproject commit 885050d34737e2fb36a3e7759d60c09347bd4ce0
|
@ -1,6 +1,6 @@
|
|||||||
;;; yasnippet-debug.el --- debug functions for yasnippet -*- lexical-binding: t -*-
|
;;; yasnippet-debug.el --- debug functions for yasnippet -*- lexical-binding: t -*-
|
||||||
|
|
||||||
;; Copyright (C) 2010, 2013, 2014 Free Software Foundation, Inc.
|
;; Copyright (C) 2010, 2013, 2014, 2017 Free Software Foundation, Inc.
|
||||||
|
|
||||||
;; Author: João Távora
|
;; Author: João Távora
|
||||||
;; Keywords: emulations, convenience
|
;; Keywords: emulations, convenience
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
;;; yasnippet-tests.el --- some yasnippet tests -*- lexical-binding: t -*-
|
;;; yasnippet-tests.el --- some yasnippet tests -*- lexical-binding: t -*-
|
||||||
|
|
||||||
;; Copyright (C) 2012, 2013, 2014, 2015 Free Software Foundation, Inc.
|
;; Copyright (C) 2012, 2013, 2014, 2015, 2017 Free Software Foundation, Inc.
|
||||||
|
|
||||||
;; Author: João Távora <joaot@siscog.pt>
|
;; Author: João Távora <joaot@siscog.pt>
|
||||||
;; Keywords: emulations, convenience
|
;; Keywords: emulations, convenience
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
;;; yasnippet.el --- Yet another snippet extension for Emacs.
|
;;; yasnippet.el --- Yet another snippet extension for Emacs.
|
||||||
|
|
||||||
;; Copyright (C) 2008-2016 Free Software Foundation, Inc.
|
;; Copyright (C) 2008-2017 Free Software Foundation, Inc.
|
||||||
;; Authors: pluskid <pluskid@gmail.com>,
|
;; Authors: pluskid <pluskid@gmail.com>,
|
||||||
;; João Távora <joaotavora@gmail.com>,
|
;; João Távora <joaotavora@gmail.com>,
|
||||||
;; Noam Postavsky <npostavs@gmail.com>
|
;; Noam Postavsky <npostavs@gmail.com>
|
||||||
;; Maintainer: Noam Postavsky <npostavs@gmail.com>
|
;; Maintainer: Noam Postavsky <npostavs@gmail.com>
|
||||||
;; Version: 0.11.0
|
;; Version: 0.12.0
|
||||||
;; X-URL: http://github.com/joaotavora/yasnippet
|
;; X-URL: http://github.com/joaotavora/yasnippet
|
||||||
;; Keywords: convenience, emulation
|
;; Keywords: convenience, emulation
|
||||||
;; URL: http://github.com/joaotavora/yasnippet
|
;; URL: http://github.com/joaotavora/yasnippet
|
||||||
@ -535,7 +535,7 @@ override bindings from other packages (e.g., `company-mode')."
|
|||||||
|
|
||||||
;;; Internal variables
|
;;; Internal variables
|
||||||
|
|
||||||
(defconst yas--version "0.11.0")
|
(defconst yas--version "0.12.0")
|
||||||
|
|
||||||
(defvar yas--menu-table (make-hash-table)
|
(defvar yas--menu-table (make-hash-table)
|
||||||
"A hash table of MAJOR-MODE symbols to menu keymaps.")
|
"A hash table of MAJOR-MODE symbols to menu keymaps.")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user