Skip to content

Commit 456fdac

Browse files
committed
Rename neural_sources to neural_providers
1 parent c7548e3 commit 456fdac

File tree

10 files changed

+11
-11
lines changed

10 files changed

+11
-11
lines changed

autoload/neural.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
" Description: The main autoload file for the Neural Vim plugin
33

44
" The location of Neural source scripts
5-
let s:neural_script_dir = expand('<sfile>:p:h:h') . '/neural_sources'
5+
let s:neural_script_dir = expand('<sfile>:p:h:h') . '/neural_providers'
66
" Keep track of the current job.
77
let s:current_job = get(s:, 'current_job', 0)
88
" Keep track of the line the last request happened on.

autoload/neural/buffer.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
" Author: Anexon <[email protected]>
22
" Description: A Neural Scratch Buffer acts as a playground for interacting with
3-
" Neural sources directly, sending all content of the buffer to the source.
3+
" Neural providers directly, sending all content of the buffer to the source.
44

55
scriptencoding utf-8
66

doc/neural.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@ appropriate value. OpenAI is the default data source.
5959
`:NeuralBuffer` *NeuralBuffer*
6060

6161
Create a buffer with a `neuralbuf` filetype for interacting with neural
62-
sources directly. This can be a useful scratch buffer and playground for code
63-
generation and completion.
62+
providers directly. This can be a useful scratch buffer and playground for
63+
code generation and completion.
6464

6565
- See |neural-buffer| for configuration options.
6666
- See |NeuralCompletion| for running neural completions in the buffer.

ftplugin/neuralbuf.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
" Author: Anexon <[email protected]>
2-
" Description: Neural Buffer for interacting with neural sources directly.
2+
" Description: Neural Buffer for interacting with neural providers directly.
33

44
call neural#config#Load()
55

File renamed without changes.
File renamed without changes.
File renamed without changes.

test/python/test_chatgpt.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
import pytest
1010

11-
from neural_sources import chatgpt
11+
from neural_providers import chatgpt
1212

1313

1414
def get_valid_config() -> Dict[str, Any]:

test/python/test_openai.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
import pytest
1010

11-
from neural_sources import openai
11+
from neural_providers import openai
1212

1313

1414
def get_valid_config() -> Dict[str, Any]:

tox.ini

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
ignore = E125
33

44
[isort]
5-
known_first_party=neural_sources
5+
known_first_party=neural_providers
66

77
[tox]
88
requires = tox>=4
@@ -13,17 +13,17 @@ description = run unit tests
1313
deps = -r{toxinidir}/test-requirements.txt
1414
skip_install = true
1515
setenv = PYTHONPATH=.
16-
commands = pytest --cov=neural_sources --cov-fail-under=100 {posargs:test/python}
16+
commands = pytest --cov=neural_providers --cov-fail-under=100 {posargs:test/python}
1717

1818
[testenv:lint]
1919
description = run linters
2020
deps = -r{toxinidir}/test-requirements.txt
2121
skip_install = true
22-
commands = flake8 {posargs:neural_sources test/python}
22+
commands = flake8 {posargs:neural_providers test/python}
2323

2424
[testenv:type]
2525
description = run type checks
2626
deps = -r{toxinidir}/test-requirements.txt
2727
skip_install = true
2828
setenv = PYTHONPATH=.
29-
commands = pyright {postarg:neural_sources}
29+
commands = pyright {postarg:neural_providers}

0 commit comments

Comments
 (0)