This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(with-eval-after-load "go-mode" | |
(defconst go-dangling-operators-regexp "[^-]-\\|[^+]\\+\\|[/,*&><.=|^%]") | |
(defun go--find-indent-info-for-current-line (maxpoint) | |
(let ((start-pos (progn | |
(beginning-of-line) | |
(skip-chars-forward "\s\t") | |
(current-column))) | |
(start-type :start) | |
prev-start-pos prev-ending ending eq-l |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(with-eval-after-load "company-autoloads" | |
(global-company-mode 1) | |
(setq company-tooltip-limit 20 | |
company-minimum-prefix-length 1 | |
company-echo-delay 0 | |
company-begin-commands '(self-insert-command | |
c-electric-lt-gt c-electric-colon | |
completion-separator-self-insert-command) | |
company-idle-delay 0.2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# https://gist.github.com/Bad-ptr/7628186 | |
DAEMON='server'; | |
if [ -n "$1" ]; | |
then | |
DAEMON="$1" | |
fi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
INCLUDE="Emacs vim Archives CVS SVN Mercurial Tags OSX Windows Linux C Go" | |
EXCLUDE="Bancha Objective-C" | |
if [ -d "./gitignore" ]; then | |
cd "./gitignore" | |
echo "-> git pull" |
NewerOlder