branch: elpa/yaml-mode
commit a4794ea21a2ca8c9be6322fd7964e353d3fed0c1
Author: Vasilij Schneidermann <v.schneiderm...@gmail.com>
Commit: Vasilij Schneidermann <v.schneiderm...@gmail.com>

    Mark non-negative integer values for indent safe
    
    Closes #41
---
 yaml-mode.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/yaml-mode.el b/yaml-mode.el
index b8c1ddb..9274a5b 100644
--- a/yaml-mode.el
+++ b/yaml-mode.el
@@ -78,6 +78,7 @@
 (defcustom yaml-indent-offset 2
   "*Amount of offset per level of indentation."
   :type 'integer
+  :safe 'natnump
   :group 'yaml)
 
 (defcustom yaml-backspace-function 'backward-delete-char-untabify

Reply via email to