|
|
@ -31,12 +31,12 @@ values." |
|
|
;; List of configuration layers to load. |
|
|
;; List of configuration layers to load. |
|
|
dotspacemacs-configuration-layers |
|
|
dotspacemacs-configuration-layers |
|
|
'( |
|
|
'( |
|
|
|
|
|
rust |
|
|
html |
|
|
html |
|
|
nginx |
|
|
nginx |
|
|
yaml |
|
|
yaml |
|
|
python |
|
|
python |
|
|
ruby |
|
|
ruby |
|
|
(go :variables go-tab-width 4) |
|
|
|
|
|
javascript |
|
|
javascript |
|
|
markdown |
|
|
markdown |
|
|
;; ---------------------------------------------------------------- |
|
|
;; ---------------------------------------------------------------- |
|
|
@ -65,7 +65,11 @@ values." |
|
|
;; packages, then consider creating a layer. You can also put the |
|
|
;; packages, then consider creating a layer. You can also put the |
|
|
;; configuration in `dotspacemacs/user-config'. |
|
|
;; configuration in `dotspacemacs/user-config'. |
|
|
dotspacemacs-additional-packages '(centered-cursor-mode |
|
|
dotspacemacs-additional-packages '(centered-cursor-mode |
|
|
|
|
|
company |
|
|
|
|
|
company-go |
|
|
dockerfile-mode |
|
|
dockerfile-mode |
|
|
|
|
|
go-mode |
|
|
|
|
|
flycheck-gometalinter |
|
|
monokai-theme |
|
|
monokai-theme |
|
|
jinja2-mode) |
|
|
jinja2-mode) |
|
|
;; A list of packages that cannot be updated. |
|
|
;; A list of packages that cannot be updated. |
|
|
@ -307,8 +311,8 @@ before packages are loaded. If you are unsure, you should try in setting them in |
|
|
(setq auto-save-default nil) |
|
|
(setq auto-save-default nil) |
|
|
(setq backup-inhibited t) |
|
|
(setq backup-inhibited t) |
|
|
(setq vc-follow-symlinks t) |
|
|
(setq vc-follow-symlinks t) |
|
|
(setq gofmt-command "goimports") |
|
|
|
|
|
(setq js-indent-level 2) |
|
|
(setq js-indent-level 2) |
|
|
|
|
|
(setq gofmt-command "goimports") |
|
|
(prefer-coding-system 'utf-8) |
|
|
(prefer-coding-system 'utf-8) |
|
|
(define-globalized-minor-mode global-fci-mode fci-mode (lambda () (fci-mode 1))) |
|
|
(define-globalized-minor-mode global-fci-mode fci-mode (lambda () (fci-mode 1))) |
|
|
) |
|
|
) |
|
|
@ -336,6 +340,27 @@ you should place your code here." |
|
|
(define-key evil-emacs-state-map (kbd "C-c p s s") 'helm-do-ag-project-root) |
|
|
(define-key evil-emacs-state-map (kbd "C-c p s s") 'helm-do-ag-project-root) |
|
|
) |
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
(add-hook 'go-mode-hook |
|
|
|
|
|
(lambda() |
|
|
|
|
|
(setq company-tooltip-limit 20) |
|
|
|
|
|
(setq company-idle-delay .3) |
|
|
|
|
|
(setq company-echo-delay 0) |
|
|
|
|
|
(setq company-begin-commands '(self-insert-command)) |
|
|
|
|
|
(require 'company) |
|
|
|
|
|
(require 'company-go) |
|
|
|
|
|
(set (make-local-variable 'company-backends) '(company-go)) |
|
|
|
|
|
(company-mode) |
|
|
|
|
|
|
|
|
|
|
|
(setq flycheck-gometalinter-fast t) |
|
|
|
|
|
(setq flycheck-gometalinter-disable-linters '("gotype")) |
|
|
|
|
|
(require 'flycheck-gometalinter) |
|
|
|
|
|
(flycheck-mode) |
|
|
|
|
|
(eval-after-load 'flycheck |
|
|
|
|
|
'(add-hook 'flycheck-mode-hook #'flycheck-gometalinter-setup)) |
|
|
|
|
|
|
|
|
|
|
|
(local-set-key (kbd "M-.") 'godef-jump) |
|
|
|
|
|
(add-hook 'before-save-hook 'gofmt-before-save))) |
|
|
|
|
|
|
|
|
;; Do not write anything past this comment. This is where Emacs will |
|
|
;; Do not write anything past this comment. This is where Emacs will |
|
|
;; auto-generate custom variable definitions. |
|
|
;; auto-generate custom variable definitions. |
|
|
(custom-set-variables |
|
|
(custom-set-variables |
|
|
@ -348,7 +373,7 @@ you should place your code here." |
|
|
("f81a9aabc6a70441e4a742dfd6d10b2bae1088830dc7aba9c9922f4b1bd2ba50" default))) |
|
|
("f81a9aabc6a70441e4a742dfd6d10b2bae1088830dc7aba9c9922f4b1bd2ba50" default))) |
|
|
'(package-selected-packages |
|
|
'(package-selected-packages |
|
|
(quote |
|
|
(quote |
|
|
(jinja2-mode web-mode tagedit slim-mode scss-mode sass-mode pug-mode less-css-mode helm-css-scss haml-mode emmet-mode company-web web-completion-data nginx-mode yaml-mode dockerfile-mode web-beautify rvm ruby-tools ruby-test-mode rubocop rspec-mode robe rbenv rake minitest livid-mode skewer-mode simple-httpd json-mode json-snatcher json-reformat js2-refactor multiple-cursors js2-mode js-doc go-guru go-eldoc company-tern dash-functional tern company-go go-mode coffee-mode chruby bundler inf-ruby company-quickhelp smeargle orgit org with-editor centered-cursor-mode reveal-in-osx-finder pbcopy osx-trash osx-dictionary launchctl zonokai-theme zenburn-theme zen-and-art-theme underwater-theme ujelly-theme twilight-theme twilight-bright-theme twilight-anti-bright-theme tronesque-theme toxi-theme tao-theme tangotango-theme tango-plus-theme tango-2-theme sunny-day-theme sublime-themes subatomic256-theme subatomic-theme spacegray-theme soothe-theme soft-stone-theme soft-morning-theme soft-charcoal-theme smyx-theme seti-theme reverse-theme railscasts-theme purple-haze-theme professional-theme planet-theme phoenix-dark-pink-theme phoenix-dark-mono-theme pastels-on-dark-theme organic-green-theme omtose-phellack-theme oldlace-theme occidental-theme obsidian-theme noctilux-theme niflheim-theme naquadah-theme mustang-theme monokai-theme monochrome-theme molokai-theme moe-theme minimal-theme material-theme majapahit-theme lush-theme light-soap-theme jbeans-theme jazz-theme ir-black-theme inkpot-theme heroku-theme hemisu-theme hc-zenburn-theme gruvbox-theme gruber-darker-theme grandshell-theme gotham-theme gandalf-theme flatui-theme flatland-theme firebelly-theme farmhouse-theme espresso-theme dracula-theme django-theme darktooth-theme darkokai-theme darkmine-theme darkburn-theme dakrone-theme cyberpunk-theme color-theme-sanityinc-tomorrow color-theme-sanityinc-solarized clues-theme cherry-blossom-theme busybee-theme bubbleberry-theme birds-of-paradise-plus-theme badwolf-theme apropospriate-theme anti-zenburn-theme ample-zen-theme ample-theme alect-themes afternoon-theme helm-company helm-c-yasnippet flyspell-correct-helm flyspell-correct flycheck-pos-tip pos-tip flycheck company-statistics company-anaconda company auto-yasnippet yasnippet auto-dictionary ac-ispell auto-complete flycheck-pyflakes yapfify pyvenv pytest pyenv-mode py-isort pip-requirements live-py-mode hy-mode helm-pydoc cython-mode anaconda-mode pythonic mmm-mode markdown-toc markdown-mode gh-md ws-butler window-numbering which-key volatile-highlights vi-tilde-fringe uuidgen use-package toc-org spaceline powerline restart-emacs request rainbow-delimiters popwin persp-mode pcre2el paradox spinner org-plus-contrib org-bullets open-junk-file neotree move-text macrostep lorem-ipsum linum-relative link-hint info+ indent-guide ido-vertical-mode hydra hungry-delete hl-todo highlight-parentheses highlight-numbers parent-mode highlight-indentation hide-comnt help-fns+ helm-themes helm-swoop helm-projectile helm-mode-manager helm-make projectile pkg-info epl helm-flx helm-descbinds helm-ag google-translate golden-ratio flx-ido flx fill-column-indicator fancy-battery eyebrowse expand-region evil-visualstar evil-visual-mark-mode evil-unimpaired evil-tutor evil-surround evil-search-highlight-persist evil-numbers evil-nerd-commenter evil-mc evil-matchit evil-lisp-state smartparens evil-indent-plus evil-iedit-state iedit evil-exchange evil-escape evil-ediff evil-args evil-anzu anzu evil goto-chg undo-tree eval-sexp-fu highlight elisp-slime-nav dumb-jump f s diminish define-word column-enforce-mode clean-aindent-mode bind-map bind-key auto-highlight-symbol auto-compile packed dash aggressive-indent adaptive-wrap ace-window ace-link ace-jump-helm-line helm avy helm-core popup async quelpa package-build)))) |
|
|
|
|
|
|
|
|
(flycheck-gometalinter golint go-autocomplete flymake-go spacemacs-theme toml-mode racer flycheck-rust seq cargo rust-mode jinja2-mode web-mode tagedit slim-mode scss-mode sass-mode pug-mode less-css-mode helm-css-scss haml-mode emmet-mode company-web web-completion-data nginx-mode yaml-mode dockerfile-mode web-beautify rvm ruby-tools ruby-test-mode rubocop rspec-mode robe rbenv rake minitest livid-mode skewer-mode simple-httpd json-mode json-snatcher json-reformat js2-refactor multiple-cursors js2-mode js-doc go-guru go-eldoc company-tern dash-functional tern company-go go-mode coffee-mode chruby bundler inf-ruby company-quickhelp smeargle orgit org with-editor centered-cursor-mode reveal-in-osx-finder pbcopy osx-trash osx-dictionary launchctl zonokai-theme zenburn-theme zen-and-art-theme underwater-theme ujelly-theme twilight-theme twilight-bright-theme twilight-anti-bright-theme tronesque-theme toxi-theme tao-theme tangotango-theme tango-plus-theme tango-2-theme sunny-day-theme sublime-themes subatomic256-theme subatomic-theme spacegray-theme soothe-theme soft-stone-theme soft-morning-theme soft-charcoal-theme smyx-theme seti-theme reverse-theme railscasts-theme purple-haze-theme professional-theme planet-theme phoenix-dark-pink-theme phoenix-dark-mono-theme pastels-on-dark-theme organic-green-theme omtose-phellack-theme oldlace-theme occidental-theme obsidian-theme noctilux-theme niflheim-theme naquadah-theme mustang-theme monokai-theme monochrome-theme molokai-theme moe-theme minimal-theme material-theme majapahit-theme lush-theme light-soap-theme jbeans-theme jazz-theme ir-black-theme inkpot-theme heroku-theme hemisu-theme hc-zenburn-theme gruvbox-theme gruber-darker-theme grandshell-theme gotham-theme gandalf-theme flatui-theme flatland-theme firebelly-theme farmhouse-theme espresso-theme dracula-theme django-theme darktooth-theme darkokai-theme darkmine-theme darkburn-theme dakrone-theme cyberpunk-theme color-theme-sanityinc-tomorrow color-theme-sanityinc-solarized clues-theme cherry-blossom-theme busybee-theme bubbleberry-theme birds-of-paradise-plus-theme badwolf-theme apropospriate-theme anti-zenburn-theme ample-zen-theme ample-theme alect-themes afternoon-theme helm-company helm-c-yasnippet flyspell-correct-helm flyspell-correct flycheck-pos-tip pos-tip flycheck company-statistics company-anaconda company auto-yasnippet yasnippet auto-dictionary ac-ispell auto-complete flycheck-pyflakes yapfify pyvenv pytest pyenv-mode py-isort pip-requirements live-py-mode hy-mode helm-pydoc cython-mode anaconda-mode pythonic mmm-mode markdown-toc markdown-mode gh-md ws-butler window-numbering which-key volatile-highlights vi-tilde-fringe uuidgen use-package toc-org spaceline powerline restart-emacs request rainbow-delimiters popwin persp-mode pcre2el paradox spinner org-plus-contrib org-bullets open-junk-file neotree move-text macrostep lorem-ipsum linum-relative link-hint info+ indent-guide ido-vertical-mode hydra hungry-delete hl-todo highlight-parentheses highlight-numbers parent-mode highlight-indentation hide-comnt help-fns+ helm-themes helm-swoop helm-projectile helm-mode-manager helm-make projectile pkg-info epl helm-flx helm-descbinds helm-ag google-translate golden-ratio flx-ido flx fill-column-indicator fancy-battery eyebrowse expand-region evil-visualstar evil-visual-mark-mode evil-unimpaired evil-tutor evil-surround evil-search-highlight-persist evil-numbers evil-nerd-commenter evil-mc evil-matchit evil-lisp-state smartparens evil-indent-plus evil-iedit-state iedit evil-exchange evil-escape evil-ediff evil-args evil-anzu anzu evil goto-chg undo-tree eval-sexp-fu highlight elisp-slime-nav dumb-jump f s diminish define-word column-enforce-mode clean-aindent-mode bind-map bind-key auto-highlight-symbol auto-compile packed dash aggressive-indent adaptive-wrap ace-window ace-link ace-jump-helm-line helm avy helm-core popup async quelpa package-build)))) |
|
|
(custom-set-faces |
|
|
(custom-set-faces |
|
|
;; custom-set-faces was added by Custom. |
|
|
;; custom-set-faces was added by Custom. |
|
|
;; If you edit it by hand, you could mess it up, so be careful. |
|
|
;; If you edit it by hand, you could mess it up, so be careful. |
|
|
|