branch: elpa/nix-mode
commit 9f24153d67675b7460db98ec51d4c9260852202c
Author: Jakub Piecuch <[email protected]>
Commit: Jakub Piecuch <[email protected]>

    Remove redundant case in tokenizer.
    
    I can't remember why I put it there... this case seems to handle
    symbols, but we're already handling them.
---
 nix-mode.el | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/nix-mode.el b/nix-mode.el
index fdf35ab55e..a24a851284 100644
--- a/nix-mode.el
+++ b/nix-mode.el
@@ -590,8 +590,7 @@ STRING-TYPE type of string based off of Emacs syntax table 
types"
        (point)
        (progn
          (or (/= 0 (skip-syntax-forward "'w_"))
-             (nix-smie--skip-symbol 'forward)
-             (skip-syntax-forward ".'"))
+             (nix-smie--skip-symbol 'forward))
          (point)))))
 
 (defun nix-smie--forward-token ()
@@ -612,8 +611,7 @@ STRING-TYPE type of string based off of Emacs syntax table 
types"
        (point)
        (progn
          (or (/= 0 (skip-syntax-backward "'w_"))
-             (nix-smie--skip-symbol 'backward)
-             (skip-syntax-backward ".'"))
+             (nix-smie--skip-symbol 'backward))
          (point)))))
 
 (defun nix-smie--backward-token ()

Reply via email to