-
Notifications
You must be signed in to change notification settings - Fork 3
Adds makefile and define single word command. #6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
CTHULHU-Jesus
wants to merge
18
commits into
Avi-D-coder:master
Choose a base branch
from
CTHULHU-Jesus:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 12 commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
9c474c4
testing useing /usr/share/dict/words
CTHULHU-Jesus 9098882
Revert "testing useing /usr/share/dict/words"
CTHULHU-Jesus 3e32b1a
Now uses makefile to build words file. Will keep words list up to date.
CTHULHU-Jesus 7ee382c
Fixed miner bugs
CTHULHU-Jesus 3339ed1
testing
CTHULHU-Jesus 097c6b0
Done testing. works now
CTHULHU-Jesus e80a44b
Create main.yml
CTHULHU-Jesus 6177031
Merge branch 'master' of https://github.com/CTHULHU-Jesus/fzf-wordnet…
CTHULHU-Jesus c6df7c2
action should be able to install things correctly
CTHULHU-Jesus 94ca020
Testing actions
CTHULHU-Jesus 0bf957b
Added status badge to show it works
CTHULHU-Jesus f3ef66d
Fixed README
CTHULHU-Jesus fd3ca66
Implemented requested changes from owner.
CTHULHU-Jesus 68b2396
BOT: Built Words File
actions-user fdd6d00
OpenSpell function now works where ever plugins are stored.
CTHULHU-Jesus 46448c1
Merge branch 'master' of github.com:CTHULHU-Jesus/fzf-wordnet.vim
CTHULHU-Jesus 49b0ed8
GitHub actions will still build, even if there are no changes
CTHULHU-Jesus 42d7de0
function OpenSpell now works🤞.
CTHULHU-Jesus File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# This is a basic workflow to help you get started with Actions | ||
|
||
name: CI | ||
|
||
# Controls when the workflow will run | ||
on: | ||
# Triggers the workflow on push or pull request events but only for the master branch | ||
push: | ||
branches: [ master ] | ||
pull_request: | ||
branches: [ master ] | ||
|
||
# Allows you to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
|
||
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | ||
jobs: | ||
# This workflow contains a single job called "build" | ||
build: | ||
# The type of runner that the job will run on | ||
runs-on: ubuntu-latest | ||
|
||
# Steps represent a sequence of tasks that will be executed as part of the job | ||
steps: | ||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | ||
- uses: actions/checkout@v2 | ||
- name: Install dependences | ||
run: sudo apt install wordnet | ||
- name: tests build | ||
run: make -C words |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
words/words | ||
words/list_of_index.txt | ||
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,9 @@ | ||
inoremap <expr> <plug>(fzf-complete-wordnet) fzf_wordnet#fn#Complete() | ||
|
||
silent! system('make -C '.expand('<sfile>:p:h:h').'/words') | ||
|
||
function! OpenSpell(word) | ||
:vsplit term://~/.vim/plugged/fzf-wordnet.vim/bin/spell | ||
CTHULHU-Jesus marked this conversation as resolved.
Show resolved
Hide resolved
|
||
call feedkeys("i".a:word) | ||
endfunction | ||
command! -nargs=1 DefineWord :call OpenSpell(<q-args>) |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
|
||
all: words | ||
|
||
list_of_index.txt: | ||
ls /*/*/*/index.[anv]* > $@ | ||
|
||
words: list_of_index.txt extract-wordnet.sh | ||
./extract-wordnet.sh $(shell head -1 $< | xargs dirname) $@ | ||
|
||
|
||
.PHONY: clean | ||
clean: | ||
-rm -rf list_of_index.txt | ||
-rm -rf words | ||
|
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.