summaryrefslogtreecommitdiff
path: root/.config/nvim/ftplugin
diff options
context:
space:
mode:
authorBenjamin Chausse <benjamin@chausse.xyz>2023-10-13 10:43:49 -0400
committerBenjamin Chausse <benjamin@chausse.xyz>2023-10-13 10:43:49 -0400
commita66988a6e884273b13a12a85ab80dd08e8a7ce4a (patch)
treeda3373a6e92b203c132eeb9e61cbeca53915d710 /.config/nvim/ftplugin
parent1d1039dfd58c3295c03f98a1890fb67f1bf98a46 (diff)
Lots of changes
Diffstat (limited to '.config/nvim/ftplugin')
-rw-r--r--.config/nvim/ftplugin/csv.vim0
-rw-r--r--.config/nvim/ftplugin/go.vim17
-rw-r--r--.config/nvim/ftplugin/python.vim0
-rw-r--r--.config/nvim/ftplugin/r.vim4
-rw-r--r--.config/nvim/ftplugin/rmd.vim6
-rw-r--r--.config/nvim/ftplugin/rnoweb.vim8
-rw-r--r--.config/nvim/ftplugin/tex.vim0
7 files changed, 0 insertions, 35 deletions
diff --git a/.config/nvim/ftplugin/csv.vim b/.config/nvim/ftplugin/csv.vim
deleted file mode 100644
index e69de29..0000000
--- a/.config/nvim/ftplugin/csv.vim
+++ /dev/null
diff --git a/.config/nvim/ftplugin/go.vim b/.config/nvim/ftplugin/go.vim
deleted file mode 100644
index 9d2ab4e..0000000
--- a/.config/nvim/ftplugin/go.vim
+++ /dev/null
@@ -1,17 +0,0 @@
-" Go deoplete
-let g:deoplete#sources#go#gocode_binary = '$GOPATH/bin/gocode'
-" GoRun Split Reuse
-function! ReuseVimGoTerm(cmd) abort
- for w in nvim_list_wins()
- if "goterm" == nvim_buf_get_option(nvim_win_get_buf(w), 'filetype')
- call nvim_win_close(w, v:true)
- break
- endif
- endfor
- execute a:cmd
-endfunction
-let g:go_term_enabled = 1
-let g:go_term_mode = "silent keepalt rightbelow 35 vsplit"
-let g:go_def_reuse_buffer = 1
-autocmd FileType go nmap <leader>r :call ReuseVimGoTerm('GoRun')<Return>
-
diff --git a/.config/nvim/ftplugin/python.vim b/.config/nvim/ftplugin/python.vim
deleted file mode 100644
index e69de29..0000000
--- a/.config/nvim/ftplugin/python.vim
+++ /dev/null
diff --git a/.config/nvim/ftplugin/r.vim b/.config/nvim/ftplugin/r.vim
deleted file mode 100644
index 309483b..0000000
--- a/.config/nvim/ftplugin/r.vim
+++ /dev/null
@@ -1,4 +0,0 @@
-" Nvim-R
-let R_rconsole_width = 0
-let R_openpdf = 0
-
diff --git a/.config/nvim/ftplugin/rmd.vim b/.config/nvim/ftplugin/rmd.vim
deleted file mode 100644
index fae453d..0000000
--- a/.config/nvim/ftplugin/rmd.vim
+++ /dev/null
@@ -1,6 +0,0 @@
-" Nvim-R
-let R_rconsole_width = 0
-let R_openpdf = 0
-au BufWritePost *.rmd silent! :call RWeave("nobib", 1, 1)
-au VimLeave *.rmd !texclear %
-
diff --git a/.config/nvim/ftplugin/rnoweb.vim b/.config/nvim/ftplugin/rnoweb.vim
deleted file mode 100644
index f4b7453..0000000
--- a/.config/nvim/ftplugin/rnoweb.vim
+++ /dev/null
@@ -1,8 +0,0 @@
-autocmd BufEnter * :UltiSnipsAddFiletypes tex.r
-
-" Nvim-R
-let R_rconsole_width = 0
-let R_openpdf = 0
-au BufWritePost *.rnw, silent! :call RWeave("nobib", 1, 1)
-au VimLeave *.rnw !texclear %
-
diff --git a/.config/nvim/ftplugin/tex.vim b/.config/nvim/ftplugin/tex.vim
deleted file mode 100644
index e69de29..0000000
--- a/.config/nvim/ftplugin/tex.vim
+++ /dev/null