 
 (defun danylo/julia-imenu-hooks ()
   (setq imenu-generic-expression
-        '(("f(x)" "^[[:blank:]]*function \\(.*\\).*(.*$" 1)
-          ("@" "^[[:blank:]]*macro \\(.*\\).*(.*$" 1)
-          ("struct" "^[^#]*\s+struct\s+\\(.*?\\)$" 1)
-          ("struct" "^struct\s+\\(.*?\\)$" 1)
-          ("import" "^\s*import\s+\\([a-zA-Z\\.,:\s]*\\)$" 1)
+        '(("f(x)   " "^[[:blank:]]*function \\(.*\\).*(.*$" 1)
+          ("@      " "^[[:blank:]]*macro \\(.*\\).*(.*$" 1)
+          ("struct " "^[^#]*\s+struct\s+\\(.*?\\)$" 1)
+          ("struct " "^struct\s+\\(.*?\\)$" 1)
+          ("import " "^\s*import\s+\\([a-zA-Z\\.,:\s]*\\)$" 1)
           ("include" "^\s*include\s*(\"\\([a-zA-Z/\\.,:\s]*\\)\")$" 1)
-          ("using" "^\s*using\s+\\([a-zA-Z\\.,:\s]*\\)$" 1)
-          ("export" "^\s*export\s+\\([a-zA-Z\\.,:!@\s]*\\)$" 1)
-          ("const" "^\s*const\s+\\(.*?\\)\s*=.*$" 1)
+          ("using  " "^\s*using\s+\\([a-zA-Z\\.,:\s]*\\)$" 1)
+          ("export " "^\s*export\s+\\([a-zA-Z\\.,:!@\s]*\\)$" 1)
+          ("const  " "^\s*const\s+\\(.*?\\)\s*=.*$" 1)
           ))
   (setq imenu-create-index-function 'danylo/julia-imenu)
   ;; Rescan the buffer as contents are added

                  "\\*eww\\*" "\\*timer-list\\*" "\\*Disabled Command\\*"
                  "\\*Man .*\\*"
                  ))))

(defun danylo/helm-swoop-split-window-function (buf &rest _args)
  "Show Helm Swoop at bottom of current window, with the correct

         ("S-<return>" . helm-company)
         :map helm-map
         ("TAB" . helm-execute-persistent-action))
  :init (setq helm-display-buffer-default-height danylo/num-completion-candidates
              helm-mode-line-string ""
              helm-comp-read-mode-line ""
              helm-buffer-max-length 30
