   (setq comment-start-skip "// *")
   (setq comment-end "")
 
-  (modify-syntax-entry ?: "w")
+  (dolist (op (list ?: ?+ ?- ?= ?! ?? ?* ?/ ?& ?| ?^))
+    (modify-syntax-entry op "."))
 
   (setq indent-tabs-mode nil)
 


      (delete-horizontal-space)
      (indent-to-column left))
    ;; place cursor correctly on newline-and-indent
    (when (equal (current-column) 0)
      (back-to-indentation))

      (beginning-of-line)

      ;; lines like " * foo" are indented by one more space
      (when (looking-at " *\\*")
        (set 'left (+ left 1)))

      ;; unindent end lines
      (back-to-indentation)
