Commit graph

64 commits

Author SHA1 Message Date
Henrik Lissner
2e7077d3df
Merge pull request #4389 from samwdp/develop
Added new package to csharp lang module
2021-02-25 12:30:42 -05:00
Henrik Lissner
9d12761c39
Reformat for consistency and s/:bind/:general 2021-02-25 12:30:13 -05:00
Henrik Lissner
a79275a476 Bump :lang
200ok-ch/counsel-jq@f5bfed8 -> 200ok-ch/counsel-jq@153d70b
Andersbakken/rtags@63a7d9b -> Andersbakken/rtags@aa4c827
MatthewFluet/company-mlton@b87e363 -> MatthewFluet/company-mlton@9b09d20
NixOS/nix-mode@e32c6bf -> NixOS/nix-mode@0023fc5
OmniSharp/omnisharp-emacs@e26ff8b -> OmniSharp/omnisharp-emacs@8ec5929
ProofGeneral/PG@702f5b9 -> ProofGeneral/PG@bdb6782
Wilfred/elisp-def@da1f763 -> Wilfred/elisp-def@dfca043
agda/agda@5070bd8 -> agda/agda@9d08edb
ananthakumaran/exunit.el@c77b039 -> ananthakumaran/exunit.el@5bb115f
ananthakumaran/tide@a43a37b -> ananthakumaran/tide@7f7334b
asok/projectile-rails@7a256b1 -> asok/projectile-rails@8d6b373
brotzeit/rustic@f7d5ac0 -> brotzeit/rustic@61d600e
clojure-emacs/cider@1a34f89 -> clojure-emacs/cider@815204f
clojure-emacs/clj-refactor.el@9dcc50d -> clojure-emacs/clj-refactor.el@b24ce76
clojure-emacs/clojure-mode@53ef8ac -> clojure-emacs/clojure-mode@f26379b
crystal-lang-tools/emacs-crystal-mode@f9e4db1 -> crystal-lang-tools/emacs-crystal-mode@1599814
cython/cython@17e03b8 -> cython/cython@9a761a6
dgutov/robe@f04dcc7 -> dgutov/robe@3ef165c
diml/utop@7bc5117) -> diml/utop@a5ff52b)
dominikh/go-mode.el@fdf46fe -> dominikh/go-mode.el@49a5380
elixir-editors/emacs-elixir@b78e7f7 -> elixir-editors/emacs-elixir@9de08c1
emacs-csharp/csharp-mode@4916829 -> emacs-csharp/csharp-mode@09b4d57
emacs-ess/ESS@d013616 -> emacs-ess/ESS@5169b0d
emacs-lsp/lsp-dart@b81b1ec -> emacs-lsp/lsp-dart@71902ca
emacs-lsp/lsp-haskell@4d85cb3 -> emacs-lsp/lsp-haskell@7efbef3
emacs-lsp/lsp-java@f43b00a -> emacs-lsp/lsp-java@5f6d357
emacs-lsp/lsp-metals@31dafff -> emacs-lsp/lsp-metals@c76eeb6
emacs-lsp/lsp-pyright@71ff088 -> emacs-lsp/lsp-pyright@65fb141
emacs-lsp/lsp-python-ms@5470ada -> emacs-lsp/lsp-python-ms@689f6cf
emacs-lsp/lsp-sourcekit@948c3a3 -> emacs-lsp/lsp-sourcekit@ff204ed
emacs-php/php-mode@7e5722c -> emacs-php/php-mode@8cdc727
emacs-straight/auctex@fb062a3 -> emacs-straight/auctex@384c4b9
emacs-straight/csv-mode@eb3ec00 -> emacs-straight/csv-mode@8da54e8
emacs-straight/org-mode@9e98e9a -> emacs-straight/org-mode@0b117f7
emacs-typescript/typescript.el@54f14c4 -> emacs-typescript/typescript.el@1043025
emacsmirror/cmake-mode@e58c411 -> emacsmirror/cmake-mode@d5d77de
ericdallo/hover.el@3f07a18 -> ericdallo/hover.el@c9c0593
erlang/otp@8fc0641 -> erlang/otp@af06b43
eschulte/jump.el@e4f1372 -> eschulte/jump.el@55caa66
ethereum/emacs-solidity@d166a86 -> ethereum/emacs-solidity@b4fd719
factor/factor@94a922a -> factor/factor@1928e60
fsharp/emacs-fsharp-mode@13fbf4c -> fsharp/emacs-fsharp-mode@78898a1
fxbois/web-mode@890e837 -> fxbois/web-mode@8ef4793
godotengine/emacs-gdscript-mode@75fe658 -> godotengine/emacs-gdscript-mode@16c631c
greghendershott/racket-mode@3563081 -> greghendershott/racket-mode@75ea8f6
haskell/haskell-mode@0d39c84 -> haskell/haskell-mode@3a019e6
hhvm/hack-mode@9079bc3) -> hhvm/hack-mode@847fd91)
hvesalai/emacs-scala-mode@9d3b56e -> hvesalai/emacs-scala-mode@402d6df
idris-hackers/idris-mode@b77eadd -> idris-hackers/idris-mode@80aabd2
immerrr/lua-mode@d2ff304 -> immerrr/lua-mode@2d9a468
iyefrat/evil-tex@ac313ef -> iyefrat/evil-tex@5f0d6fb
jaor/geiser@cd00be6 -> jaor/geiser@26dd2f4
jcollard/elm-mode@363da4b -> jcollard/elm-mode@188b9c7
joaotavora/sly@3278819 -> joaotavora/sly@fb84318
jorgenschaefer/emacs-buttercup@2f24a44 -> jorgenschaefer/emacs-buttercup@1de6be4
jrblevin/markdown-mode@dcad557 -> jrblevin/markdown-mode@0517340
jwiegley/emacs-async@14f48de -> jwiegley/emacs-async@d7e7f79
jyp/attrap@9c88154 -> jyp/attrap@778382e
jyp/dante@e2acbf6 -> jyp/dante@7b1ab64
kaushalmodi/ox-hugo@04f41ca -> kaushalmodi/ox-hugo@a05667e
leanprover/lean-mode@cc1f5fa -> leanprover/lean-mode@15bee87
ledger/ledger-mode@805507f -> ledger/ledger-mode@3495d12
mooz/js2-mode@f7816bd -> mooz/js2-mode@29979e5
nonsequitur/inf-ruby@b012457 -> nonsequitur/inf-ruby@1fc972e
ocaml-ppx/ocamlformat@860266b -> ocaml-ppx/ocamlformat@7db8d13
ocaml/dune@4d097cd -> ocaml/dune@f839fc1
ocaml/merlin@28193d5 -> ocaml/merlin@36d0aef
pezra/rspec-mode@f1029ca -> pezra/rspec-mode@92ef785
polymode/poly-R@51ffeb6 -> polymode/poly-R@c42ff3a
polymode/polymode@3284ff1 -> polymode/polymode@b3871e9
purescript-emacs/psc-ide-emacs@663f4e2 -> purescript-emacs/psc-ide-emacs@ce97d71
purescript-emacs/purescript-mode@154ad16 -> purescript-emacs/purescript-mode@8410baf
pwalsh/pipenv.el@f516a1a -> pwalsh/pipenv.el@8f50c68
pythonic-emacs/anaconda-mode@b1875a5 -> pythonic-emacs/anaconda-mode@081f9d8
racer-rust/emacs-racer@a0bdf77 -> racer-rust/emacs-racer@f17f9d7
rubocop-hq/rubocop-emacs@03bf155 -> rubocop-hq/rubocop-emacs@1372ee3
seagle0128/grip-mode@91da46f -> seagle0128/grip-mode@1aebf9c
senny/rvm.el@b2498a4 -> senny/rvm.el@c1f2642
swift-emacs/swift-mode@0bc8d8d -> swift-emacs/swift-mode@95ff004
takaxp/org-tree-slide@04b5a9d -> takaxp/org-tree-slide@c9487e5
technomancy/fennel-mode@fa56106 -> technomancy/fennel-mode@bebc9dd
tpapp/julia-repl@d073acb -> tpapp/julia-repl@7ce38a9
wbolster/emacs-python-pytest@3fadf1f -> wbolster/emacs-python-pytest@31ae5e0
wwwjfy/emacs-fish@db257db -> wwwjfy/emacs-fish@a7c953b

Fix #4695
Close #4529
Close #4576
2021-02-25 10:46:46 -05:00
Sam Precious
645fde6b42 merge conflict 2021-02-21 20:36:28 +00:00
Henrik Lissner
e2784d6f4f lang/csharp: add sln-mode 2021-02-21 14:44:59 -05:00
Sam Precious
d5d241b36e Merge remote-tracking branch 'upstream/develop' into develop
merge upsteam
2021-02-04 18:51:12 +00:00
M. Yas. Davoodeh
784acaa64d
Set ligratures for csharp-mode 2020-12-12 22:10:24 +03:30
Sam Precious
41b1a7800a Updated ordering 2020-12-08 19:39:32 +00:00
Sam Precious
871096533f Added in Dotnet interface with sharper through module flag 2020-12-08 19:21:54 +00:00
Henrik Lissner
2e86cceb3f
Bump :lang
200ok-ch/counsel-jq@104c77b -> 200ok-ch/counsel-jq@f5bfed8
Andersbakken/rtags@e6c7005 -> Andersbakken/rtags@63a7d9b
FStarLang/fstar-mode.el@5670fc0 -> FStarLang/fstar-mode.el@3afbf04
Kungsgeten/org-brain@6e3d861) -> Kungsgeten/org-brain@1ae4fd4)
NixOS/nix-mode@bb0b49e -> NixOS/nix-mode@e32c6bf
OVYA/php-cs-fixer@95eace9 -> OVYA/php-cs-fixer@c5b5d8a
ProofGeneral/PG@0fdb1ae -> ProofGeneral/PG@702f5b9
Sarcasm/irony-mode@1e1aaba -> Sarcasm/irony-mode@76fd37f
abicky/nodejs-repl.el@f5ce3d5 -> abicky/nodejs-repl.el@3b84105
agda/agda@08191e6 -> agda/agda@5070bd8
amake/flutter.el@78b3c57 -> amake/flutter.el@696228a
ananthakumaran/tide@ac5f070 -> ananthakumaran/tide@a43a37b
arnested/php-extras@81ebd7c -> arnested/php-extras@d410c5a
borkdude/flycheck-clj-kondo@152df7f -> borkdude/flycheck-clj-kondo@a558bda
brotzeit/rustic@7c9d55b -> brotzeit/rustic@91ad5db
chachi/cuda-mode@9ae9eac -> chachi/cuda-mode@7f59351
clojure-emacs/cider@f1c2a79 -> clojure-emacs/cider@ef47c1d
clojure-emacs/clojure-mode@75c2889 -> clojure-emacs/clojure-mode@53ef8ac
cpitclaudel/company-coq@b096cb5 -> cpitclaudel/company-coq@4da7b41
cython/cython@ba6cbed -> cython/cython@21b4e53
dgutov/robe@082da38 -> dgutov/robe@f04dcc7
dominikh/go-mode.el@d17d210 -> dominikh/go-mode.el@fdf46fe
dominikh/go-mode.el@d17d210 -> dominikh/go-mode.el@fdf46fe
elixir-editors/emacs-elixir@01b3324 -> elixir-editors/emacs-elixir@b78e7f7
emacs-ess/ESS@a694b26 -> emacs-ess/ESS@d013616
emacs-lsp/lsp-dart@c1ff5ce -> emacs-lsp/lsp-dart@b81b1ec
emacs-lsp/lsp-java@3f1ed17 -> emacs-lsp/lsp-java@f43b00a
emacs-lsp/lsp-metals@e42c0b2) -> emacs-lsp/lsp-metals@31dafff)
emacs-lsp/lsp-pyright@ccd0007 -> emacs-lsp/lsp-pyright@d9e7d3c
emacs-lsp/lsp-python-ms@a0c56f4 -> emacs-lsp/lsp-python-ms@c4ebc7a
emacs-php/php-mode@f4c7c69 -> emacs-php/php-mode@7e5722c
emacs-straight/adaptive-wrap@319db64 -> emacs-straight/adaptive-wrap@8f60ee7
emacs-straight/csv-mode@6353374 -> emacs-straight/csv-mode@eb3ec00
emacs-straight/org-mode@a88806b -> emacs-straight/org-mode@7c8dce7
emacs-straight/rainbow-mode@fdff98b -> emacs-straight/rainbow-mode@949166c
emacs-straight/sml-mode@60b01d7 -> emacs-straight/sml-mode@0338e97
emacs-typescript/typescript.el@e6f68ab -> emacs-typescript/typescript.el@54f14c4
erlang/otp@8efb945 -> erlang/otp@8fc0641
factor/factor@c6e15bd -> factor/factor@94a922a
felipeochoa/rjsx-mode@0061587 -> felipeochoa/rjsx-mode@b697fe4
fsharp/emacs-fsharp-mode@68dfc22 -> fsharp/emacs-fsharp-mode@13fbf4c
fxbois/web-mode@b4b0a85 -> fxbois/web-mode@890e837
galaunay/poetry.el@eb238d9 -> galaunay/poetry.el@d5163fe
godotengine/emacs-gdscript-mode@55a6637 -> godotengine/emacs-gdscript-mode@75fe658
greghendershott/racket-mode@0ca8b26 -> greghendershott/racket-mode@3563081
haskell/haskell-mode@e726776 -> haskell/haskell-mode@0d39c84
hlissner/evil-org-mode@658dadf) -> hlissner/evil-org-mode@a9706da)
hvesalai/emacs-sbt-mode@4358ed8 -> hvesalai/emacs-sbt-mode@7b121fc
hvesalai/emacs-scala-mode@1d08e88 -> hvesalai/emacs-scala-mode@9d3b56e
hylang/hy-mode@7256844 -> hylang/hy-mode@5253533
joaotavora/sly@fce4f9b -> joaotavora/sly@68561f1
jorgenschaefer/emacs-buttercup@cccdedf -> jorgenschaefer/emacs-buttercup@2f24a44
jorgenschaefer/pyvenv@861998b -> jorgenschaefer/pyvenv@0bf4b87
josteink/csharp-mode@f46d656 -> josteink/csharp-mode@4916829
jrblevin/markdown-mode@152eae2 -> jrblevin/markdown-mode@dcad557
kaushalmodi/ox-hugo@1909c6e) -> kaushalmodi/ox-hugo@f24c9bd)
nim-lang/nim-mode@16a245e -> nim-lang/nim-mode@d832d6b
ocaml-ppx/ocamlformat@1dec6c3 -> ocaml-ppx/ocamlformat@860266b
ocaml/dune@f967df6 -> ocaml/dune@4d097cd
ocaml/merlin@06833e9 -> ocaml/merlin@28193d5
oer/org-re-reveal@2035217 -> oer/org-re-reveal@0062756
org-roam/org-roam@d913447) -> org-roam/org-roam@be95b42)
rexim/org-cliplink@82402ca -> rexim/org-cliplink@13e0940
salmanebah/opencl-mode@55cb49c -> salmanebah/opencl-mode@15091ef
senny/rvm.el@6897576) -> senny/rvm.el@b2498a4)
skuro/plantuml-mode@5889166 -> skuro/plantuml-mode@ea45a13
swift-emacs/swift-mode@e65a80a -> swift-emacs/swift-mode@0bc8d8d
technomancy/fennel-mode@7a8824a -> technomancy/fennel-mode@fa56106
wbolster/emacs-python-pytest@a2f88b1 -> wbolster/emacs-python-pytest@4a1c4c8
xuchunyang/elisp-demos@3cca496 -> xuchunyang/elisp-demos@ed9578d
yoshiki/yaml-mode@68fecb5 -> yoshiki/yaml-mode@fc5e1c5

Fixes #4237
2020-12-05 16:37:59 -05:00
Henrik Lissner
de6907aca0
Bump :lang
200ok-ch/counsel-jq@b14dfc5 -> 200ok-ch/counsel-jq@104c77b
Andersbakken/rtags@b57b360 -> Andersbakken/rtags@e6c7005
Emacs-Kotlin-Mode-Maintainers/kotlin-mode@8e6dd57 -> Emacs-Kotlin-Mode-Maintainers/kotlin-mode@0e4bafb
FStarLang/fstar-mode.el@bd28cb8 -> FStarLang/fstar-mode.el@5670fc0
GDQuest/emacs-gdscript-mode@7aea87b -> GDQuest/emacs-gdscript-mode@55a6637
JuliaEditorSupport/julia-emacs@b5f5983 -> JuliaEditorSupport/julia-emacs@8ea90c7
NixOS/nix-mode@0cf1ea1 -> NixOS/nix-mode@bb0b49e
OmniSharp/omnisharp-emacs@e658a18 -> OmniSharp/omnisharp-emacs@e26ff8b
ProofGeneral/PG@03e427a -> ProofGeneral/PG@4f6b602
Raku/raku-mode@e0639c8 -> Raku/raku-mode@8a6e17f
Sterlingg/json-snatcher@c4cecc0 -> Sterlingg/json-snatcher@b28d1c0
agda/agda@36738c1 -> agda/agda@08191e6
asok/projectile-rails@11980b2 -> asok/projectile-rails@7a256b1
borkdude/flycheck-clj-kondo@5472c26 -> borkdude/flycheck-clj-kondo@152df7f
brotzeit/rustic@75b9920 -> brotzeit/rustic@7c9d55b
clojure-emacs/cider@a89b694 -> clojure-emacs/cider@f1c2a79
clojure-emacs/clj-refactor.el@9709568 -> clojure-emacs/clj-refactor.el@6db85b3
clojure-emacs/clojure-mode@84ed16c -> clojure-emacs/clojure-mode@75c2889
cython/cython@fcfd16c -> cython/cython@ba6cbed
dominikh/go-mode.el@734d523 -> dominikh/go-mode.el@d17d210
emacs-ess/ESS@1baf8bf -> emacs-ess/ESS@a694b26
emacs-lsp/lsp-haskell@a56667b -> emacs-lsp/lsp-haskell@4d85cb3
emacs-lsp/lsp-java@2600162 -> emacs-lsp/lsp-java@3f1ed17
emacs-lsp/lsp-metals@039aa72 -> emacs-lsp/lsp-metals@8f8471c
emacs-lsp/lsp-pyright@9603dda -> emacs-lsp/lsp-pyright@ccd0007
emacs-lsp/lsp-python-ms@a884a9a -> emacs-lsp/lsp-python-ms@a0c56f4
emacs-lsp/lsp-sourcekit@130f7a8 -> emacs-lsp/lsp-sourcekit@948c3a3
emacs-straight/rainbow-mode@f780ddb -> emacs-straight/rainbow-mode@fdff98b
emacs-typescript/typescript.el@42a60e5 -> emacs-typescript/typescript.el@e6f68ab
ericdallo/hover.el@e213f2b -> ericdallo/hover.el@3f07a18
erlang/otp@d9bc785 -> erlang/otp@36b4ba4
factor/factor@3fdb032 -> factor/factor@c6e15bd
flycheck/flycheck-cask@3457ae5 -> flycheck/flycheck-cask@4b2ede6
fsharp/emacs-fsharp-mode@3e41fe1 -> fsharp/emacs-fsharp-mode@68dfc22
fxbois/web-mode@60ffd87 -> fxbois/web-mode@b4b0a85
galaunay/poetry.el@22a76cd -> galaunay/poetry.el@eb238d9
greghendershott/racket-mode@c55fd70 -> greghendershott/racket-mode@0ca8b26
hhvm/hack-mode@572c3b4 -> hhvm/hack-mode@9079bc3
hylang/hy-mode@55e84ca -> hylang/hy-mode@7256844
immerrr/lua-mode@35b6e4c -> immerrr/lua-mode@345ebfc
jaor/geiser@adc5c4a -> jaor/geiser@2accab7
joaotavora/sly@34239bc -> joaotavora/sly@fce4f9b
jorgenschaefer/emacs-buttercup@0e5eae0 -> jorgenschaefer/emacs-buttercup@cccdedf
jorgenschaefer/emacs-buttercup@0e5eae0 -> jorgenschaefer/emacs-buttercup@cccdedf
josteink/csharp-mode@4885177 -> josteink/csharp-mode@f46d656
jrblevin/markdown-mode@ef2cb4d -> jrblevin/markdown-mode@152eae2
jschaf/powershell.el@8782677 -> jschaf/powershell.el@d1b3f95
jwiegley/emacs-async@36a1015 -> jwiegley/emacs-async@14f48de
leanprover/lean-mode@6b43776 -> leanprover/lean-mode@cc1f5fa
liblit/demangle-mode@697c1db -> liblit/demangle-mode@aaef0bd
mooz/js2-mode@40aab27 -> mooz/js2-mode@ffb7099
nonsequitur/inf-ruby@9f0f79f -> nonsequitur/inf-ruby@b012457
pashky/restclient.el@ac8aad6 -> pashky/restclient.el@abc307b
pythonic-emacs/anaconda-mode@73266a4 -> pythonic-emacs/anaconda-mode@39b1cf8
pythonic-emacs/pyenv-mode@d191037 -> pythonic-emacs/pyenv-mode@b818901
seagle0128/grip-mode@281ada2 -> seagle0128/grip-mode@91da46f
senny/rvm.el@081d517 -> senny/rvm.el@6897576
swift-emacs/swift-mode@d266fbd -> swift-emacs/swift-mode@e65a80a
wbolster/emacs-python-pytest@fc056fa -> wbolster/emacs-python-pytest@a2f88b1
xuchunyang/elisp-demos@8c97481 -> xuchunyang/elisp-demos@3cca496
2020-10-11 23:20:06 -04:00
Henrik Lissner
de343fd314
lang/csharp: add csproj-mode package
A major mode for .NET *.proj files
2020-08-01 16:00:18 -04:00
Henrik Lissner
a954657631
Bump :lang csharp
josteink/csharp-mode@57bd21b -> josteink/csharp-mode@4885177

We're also transitioning from abbreviated SHA1 hashes to full ones. See
45cdfb125 for why.
2020-08-01 15:56:30 -04:00
Henrik Lissner
4d77314df2
Fix string fontification in csharp-mode
A temporary fix for josteink/csharp-mode#151
2020-06-20 03:02:05 -04:00
Henrik Lissner
e7f04a3d87
doom/doctor: fix over-eager omnisharp checks
Fixes #2206
2020-05-15 01:33:52 -04:00
Albert Fong
d419e88540
Update hook to match rename from refactoring 2020-04-16 22:34:09 -07:00
Henrik Lissner
169f9a6121
General, minor refactor & reformatting 2020-03-27 01:25:30 -04:00
Henrik Lissner
cb67aa00b9
Refactor lang/csharp 2020-02-25 20:03:14 -05:00
Henrik Lissner
a9402cfb55
Fix #2373: bring back package pinning
This needs some serious refactoring...
2020-01-25 19:02:00 -05:00
Henrik Lissner
4cc14389e8
PIN ALL THE PACKAGES 2020-01-14 22:32:11 -05:00
Henrik Lissner
4dc3f0956a
lang/csharp: move omnisharp-cache-directory to doom-etc-dir
It deceptively uses this directory to store the omnisharp server, rather
than just its cache files. Servers belong in doom-etc-dir.
2019-11-16 20:55:53 -05:00
Henrik Lissner
051bceb0a8
Refactor localleader keybinds #1270
Introduces a select few of the localleader keybind standards proposed in
issue #1270, corrects a few typos and introduces more localleader
keybinds in general.

Co-authored-by: yuhan0 <>
2019-10-04 22:04:47 -04:00
Henrik Lissner
647ea041be
lang/csharp: minor correction to readme 2019-09-26 15:23:39 -04:00
Henrik Lissner
be1b3d298c
lang/csharp: update README 2019-09-26 14:26:48 -04:00
Henrik Lissner
d51cc0879d
lang/csharp: add +lsp flag & support 2019-09-26 14:26:47 -04:00
Henrik Lissner
2d365619cd
General refactor & cleanup, across the board 2019-09-13 22:00:34 -04:00
oreodave
ff1b210469 lang/csharp: Fix code issues keybind does not work
<localleader>ri : omnisharp-fix-code-issue-at-point
This function does not exist, thus the keybind doesn't work
2019-08-23 23:29:46 +01:00
oreodave
c35c704de8 lang/csharp: updated bindings
Specifically:
- `t-a` -> `t-s` ("unit test all" is now "unit test buffer")
- `t-r` -> `t-l` ("unit test ?" is now "unit test last")
- `t-s` is the same (couldn't think of anything better)
2019-08-23 23:28:50 +01:00
oreodave
da0f3afb12 lang/csharp: -Remove old bindings
These bindings use older omnisharp functions that no longer work. Should
be replaced by new omnisharp functions
2019-08-23 23:28:28 +01:00
Henrik Lissner
a3e262c7ac
💥 Refactor add-hook! macro & change arg order
This update may potentially break your usage of add-hook! if you pass
the :local or :append properties to it. This is how they used to work:

  (add-hook! :append 'some-mode-hook #'do-something)

Thsoe properties must now follow the hooks, e.g.

  (add-hook! 'some-mode-hook :append #'do-something)

Other changes:
- Various add-hook calls have been renamed to add-hook! because I
  incorrectly assumed `defun` always returned its definition's symbol,
  when in fact, its return value is "undefined" (so sayeth the
  documentation). This should fix #1597.
- This update adds the ability to add multiple functions to hooks
  without a list:

    (add-hook! 'some-mode-hook
               #'do-something
               #'do-something-else)

- The indentation logic has been changed so that consecutive function
  symbols at indented at the same level as the first argument, but forms
  are indent like a defun.

    (add-hook! 'some-mode-hook
               #'do-something
               #'do-something-else)

    (add-hook! 'some-mode-hook
      (message "Hello"))
2019-07-26 20:17:29 +02:00
Henrik Lissner
76cacb5bfe
💥 Rename def-package! -> use-package!
Calling this pivotal macro "def-package!" has frequently been a source
of confusion. It is a thin wrapper around use-package, and it should be
obvious that it is so. For this reason, and to match the naming
convention used with other convenience macros/wrappers, it is now
use-package!.

Also changes def-package-hook! -> use-package-hook!

The old macros are now marked obsolete and will be removed when straight
integration is merged.
2019-07-23 12:50:45 +02:00
Henrik Lissner
0a84d2f0a9
core-lib: add auto-minor-mode, revise def-project-mode!
- Adds the auto-minor-mode package to replace our in-house
  implementation.
- Merges associate! into the def-project-mode! macro because associate!
  on its own is less useful than auto-minor-mode-alist,
  auto-minor-mode-magic-alist or hooks.
- Changes the semantics of :modes and :add-hooks properties of
  def-project-mode!. Its arguments are evaluated as is; lists will need
  to be quoted.

squash! core-lib: remove associate! macro
2019-07-22 02:30:39 +02:00
Henrik Lissner
3d99ae8562
lang/csharp: include +chsarp-sp-point-in-type-p 2019-02-19 01:28:07 -05:00
Henrik Lissner
883fcffc97
lang/csharp: use omnisharp cleanup hook 2019-02-18 17:42:21 -05:00
Henrik Lissner
e01781a3d9
lang/csharp: minor refactor
Ensure csharp-mode specific config can work without omnisharp.
2019-02-18 17:40:57 -05:00
Henrik Lissner
ed0a4bc5ca
lang/csharp: add electric/autopairing behavior 2019-02-18 15:38:26 -05:00
Henrik Lissner
937252af4e
lang/csharp: add +unity flag
And group shader-mode & +csharp-unity-mode under it.
2018-12-29 00:09:17 -05:00
Henrik Lissner
3f195614d9
Normalize :leader/:localleader keybinds
Evil states no longer apply to them. Also removes x-alt-keysym.
2018-12-23 23:54:27 -05:00
Henrik Lissner
c58077810d
General refactor of modules
General code and comment improvements.

Also, removed the :desc's for csv-mode because map! is currently unable
to set which-key descriptions mode-locally, and should be avoided for
anything but global keybinds. This will be fixed when General is
introduced into Doom.
2018-09-09 09:58:20 -04:00
Henrik Lissner
f6dc6ac74e
Refactor out map.el usage
After some profiling, it turns out map-put and map-delete are 5-7x
slower (more on Emacs 25) than delq, setf/alist-get and add-to-list for
small lists (under 250 items), which is exactly how I've been using
them.

The only caveat is alist-get's signature is different on Emacs 25, thus
a polyfill is necessary in core-lib.
2018-06-23 19:53:54 +02:00
Henrik Lissner
e05d7cfee0
Change flycheck initialization strategy
Initialize it globally and turn it off where needed, instead of enabling
it on demand. Also fixes void-function: flycheck-mode errors when
:feature syntax-checker is disabled. This is experimental.

Indirectly fixes #710
2018-06-22 01:49:20 +02:00
Henrik Lissner
c0251aacee
Replace :lookup with set-lookup-handlers! autodef
And update all internal references.
2018-06-15 17:27:48 +02:00
Henrik Lissner
d8b1e469bc
Introduce autodefs to replace some settings
+ :popup -> set-popup-rule!
+ :popups -> set-popup-rules!
+ :company-backend -> set-company-backend!
+ :evil-state -> set-evil-initial-state!

I am slowly phasing out the setting system (def-setting! and set!),
starting with these.

What are autodefs? These are functions that are always defined, whether
or not their respective modules are enabled. However, when their modules
are disabled, they are replaced with macros that no-op and don't
waste time evaluating their arguments.

The old set! function will still work, for a while.
2018-06-15 03:42:01 +02:00
Henrik Lissner
947fe345c3
Minor, general refactor
In some contexts, map-put is superior to add-to-list.
2018-05-29 15:34:13 +02:00
Henrik Lissner
09cb4f6716
Major refactor & optimization of how modules load their packages
Now that we are loading package autoloads files (as part of the
generated doom-package-autoload-file when running make autoloads), many
:commands properties are redundant. In fact, many def-package! blocks
are redundant.

In some cases, we can do without a config.el file entirely, and can move
into the autoloads file or rely entirely on package autoloads.

Also, many settings have been moved in their module's autoloads files,
which makes them available ASAP; their use no longer depends on module
load order.

This gained me a modest ~10% boost in startup speed.
2018-05-25 00:46:16 +02:00
Henrik Lissner
b64b2764fa
Fix header vars in doctor/packages.el files 2018-05-08 17:56:21 +02:00
Henrik Lissner
d67496e007
Fix vestigial references to warn! macro
This macro was removed some time ago (and moved to doom-doctor). Where
necessary, these warnings have been moved to that module's doctor.el
file.
2018-04-28 03:49:46 -04:00
Henrik Lissner
135ebd925f
Enable global-eldoc-mode; less work for me! 2018-04-23 00:34:03 -04:00
Henrik Lissner
8af46aad5a
lang/csharp: fix omnisharp detection when server is installed locally #422 2018-02-18 21:31:16 -05:00
Henrik Lissner
6c4e048c23
General refactor & cleanup 2018-02-14 07:47:22 -05:00