From 7247592406dd6ad1b2c0777a48ef9ffd41f4ca4a Mon Sep 17 00:00:00 2001 From: Takayuki Kamiyama Date: Tue, 11 Mar 2025 09:01:39 +0900 Subject: [PATCH] Delete. --- rplugin/python3/deoplete/sources/kindness.py | 23 -------------------- 1 file changed, 23 deletions(-) diff --git a/rplugin/python3/deoplete/sources/kindness.py b/rplugin/python3/deoplete/sources/kindness.py index b76b1ee..abcee81 100644 --- a/rplugin/python3/deoplete/sources/kindness.py +++ b/rplugin/python3/deoplete/sources/kindness.py @@ -43,10 +43,6 @@ def gather_candidates(self, context): # 3.5 and higher, 4.x or less,python version is required. if (py_mj == 3 and py_mi > 4) or (py_mj < 4): - # Settings, vim-plug | neovim path is true/false folder search. - neo_f: Optional[str] = '~/.neovim/plugged/ruby-dict/autoload/source/' - neo_t = '~/.neovim/plugged/ruby-dict/autoload/source/ruby_method.txt' - # Settings, vim-plug | vim path is true/false folder search. vim_f: Optional[str] = '~/.vim/plugged/ruby-dict/autoload/source/' vim_t = '~/.vim/plugged/ruby-dict/autoload/source/ruby_method.txt' @@ -74,25 +70,6 @@ def gather_candidates(self, context): sorted(data_py, key=itemgetter(0)) return data_py - # Neovim Folder, Set the dictionary. - elif os.path.exists(os.path.expanduser(neo_f)): - - # Get Receiver/kindness behavior. - with open(os.path.expanduser(neo_t)) as r_meth: - # pandas and dask - neo_ruby: Optional[list] = list(r_meth.readlines()) - pd_ruby = pd.Series(neo_ruby) - st_r = pd_ruby.sort_index() - ddf = from_pandas( - data=st_r, npartitions=multiprocessing.cpu_count()) - data_array = ddf.to_dask_array(lengths=True) - data = data_array.compute() - neo_py: Optional[list] = [s.rstrip() for s in data] - - # sort and itemgetter - neo_py.sort(key=itemgetter(0)) - return neo_py - # Vim Folder, Set the dictionary. elif os.path.exists(os.path.expanduser(vim_f)):