Skip to content

Commit

Permalink
Lots of cleaning
Browse files Browse the repository at this point in the history
  • Loading branch information
Musa Al-hassy committed Sep 26, 2023
1 parent 3c1bbe5 commit 8081ade
Show file tree
Hide file tree
Showing 6 changed files with 12,402 additions and 11,058 deletions.
14 changes: 13 additions & 1 deletion .aspell.en.pws
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
personal_ws-1.1 en 324
personal_ws-1.1 en 336
ACSII
AST
ASTs
Expand All @@ -23,6 +23,7 @@ Discovarability
Distributivity
Dualise
Dually
Eglot
Equipollence
Excerption
Executables
Expand Down Expand Up @@ -54,16 +55,20 @@ Monoid
Monoids
Monotonicity
Muawiyah
Multimethod
Multimethods
Musa
Nasriyah
Neato
Netmask
Orchestrator
PackageFormer
PackageFormer's
Parametricity
Prepend
Procedurally
Prolog
Protobufs
Pseudocode
Pushout
Quran
Expand All @@ -76,6 +81,8 @@ Sessional
Shyam
Subsegment
Surjection
TODO
Tcl
TypeScript
Typecheck
Unbundling
Expand Down Expand Up @@ -129,6 +136,7 @@ compositional
computability
computable
connectedness
continous
contrapositive
datatypes
deallocate
Expand All @@ -142,6 +150,7 @@ decrypting
definitional
definitionaly
deliverables
dereference
dereferencing
destructor
destructure
Expand Down Expand Up @@ -187,6 +196,7 @@ indiscernibles
indistinguishability
infimum
init
initializers
injective
inlined
inlining
Expand Down Expand Up @@ -261,6 +271,7 @@ pushout
pushouts
quantifications
reachability
rebased
redistributable
reduct
representable
Expand All @@ -278,6 +289,7 @@ serialize
sessional
siloed
stepwise
stringify
subalgebras
subclasses
subexpression
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# [[file:../../init.org::#Github-Actions][Github Actions:1]]
# [[file:../../init.org::*Github Actions][Github Actions:1]]
# This workflow will do a clean install of dependencies and run tests
# For more information see: https://help.github.com/actions/language-and-framework-guides/

Expand Down
24 changes: 2 additions & 22 deletions init-test.el
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
;; [[file:init.org::#Word-Completion][Word Completion:2]]
;; [[file:init.org::*Word Completion and Documentation Pop-ups][Word Completion and Documentation Pop-ups:2]]
(ert-deftest company-works-as-expected-in-text-mode ()
:tags '(company)
(switch-to-buffer "*TESTING COMPANY MODE ~ Text*")
Expand Down Expand Up @@ -50,7 +50,7 @@
(should (looking-back "finally"))

(kill-buffer))
;; Word Completion:2 ends here
;; Word Completion and Documentation Pop-ups:2 ends here

;; [[file:init.org::*E2E Test][E2E Test:1]]
(ert-deftest hideshow-is-enabled-and-folds-by-default ()
Expand All @@ -76,23 +76,3 @@

(kill-buffer)))
;; E2E Test:1 ends here

;; [[file:init.org::#LSP-Making-Emacs-into-a-generic-full-featured-programming-IDE][LSP: Making Emacs into a generic full-featured programming IDE:6]]
(ert-deftest lsp-hover-shows-type-signature ()
;; Make a temporary scratch.js file with the given contents.
(-let [scratch.js (make-temp-file "scratch" nil ".js" "const first = (x, y) => 3")]
(find-file scratch.js)
(lsp-workspace-folders-add (f-parent scratch.js))
(lsp)

;; lsp-hover uses lsp--eldoc-message, so let's save the hover info.
(advice-add #'lsp--eldoc-message :before (lambda (&rest msg) (setq my/lsp-hover-message (substring-no-properties (car msg)))))

(end-of-buffer)
(insert "\n first")
(lsp-hover) ;; Alternatively: (lsp-describe-thing-at-point)
(should (equal "const first: (x: any, y: any) => number" my/lsp-hover-message))

(save-buffer)
(kill-buffer)))
;; LSP: Making Emacs into a generic full-featured programming IDE:6 ends here
Loading

0 comments on commit 8081ade

Please sign in to comment.