remove tabnine

nix-components
pegasust 2022-10-12 17:47:16 -07:00
parent 0bdbb733a2
commit 52e998c85b
2 changed files with 13 additions and 7 deletions

View File

@ -101,6 +101,8 @@ Plug('tpope/vim-dispatch') -- Allows quick build/compile/test vim commands
Plug('clojure-vim/vim-jack-in') -- Clojure: ":Boot", ":Clj", ":Lein" Plug('clojure-vim/vim-jack-in') -- Clojure: ":Boot", ":Clj", ":Lein"
Plug('radenling/vim-dispatch-neovim') -- Add support for neovim's terminal emulator Plug('radenling/vim-dispatch-neovim') -- Add support for neovim's terminal emulator
Plug('Olical/conjure') -- REPL on the source for Clojure (and other LISPs) Plug('Olical/conjure') -- REPL on the source for Clojure (and other LISPs)
Plug('gennaro-tedesco/nvim-jqx') -- JSON formatter (use :Jqx*)
Plug('kylechui/nvim-surround') -- surrounds with tags/parenthesis
-- UI & colorscheme -- UI & colorscheme
Plug('gruvbox-community/gruvbox') -- theme provider Plug('gruvbox-community/gruvbox') -- theme provider
@ -276,7 +278,7 @@ require('nvim-treesitter.configs').setup {
ensure_installed = { ensure_installed = {
'tsx', 'toml', 'lua', 'typescript', 'rust', 'go', 'yaml', 'json', 'php', 'css', 'tsx', 'toml', 'lua', 'typescript', 'rust', 'go', 'yaml', 'json', 'php', 'css',
'python', 'prisma', 'html', "dockerfile", "c", "cpp", "hcl", "svelte", "astro", 'python', 'prisma', 'html', "dockerfile", "c", "cpp", "hcl", "svelte", "astro",
"clojure", "fennel" "clojure", "fennel", "bash"
}, },
sync_install = false, sync_install = false,
highlight = { enable = true }, highlight = { enable = true },
@ -365,7 +367,6 @@ require('neogit').setup {}
remap('n', '<leader>gs', function() require('neogit').open({}) end); remap('n', '<leader>gs', function() require('neogit').open({}) end);
-- LSP settings -- LSP settings
require('nvim-lsp-installer').setup {}
-- This function gets run when an LSP connects to a particular buffer. -- This function gets run when an LSP connects to a particular buffer.
local on_attach = function(_client, bufnr) local on_attach = function(_client, bufnr)
-- NOTE: Remember that lua is a real programming language, and as such it is possible -- NOTE: Remember that lua is a real programming language, and as such it is possible
@ -422,7 +423,7 @@ local capabilities = require('cmp_nvim_lsp').update_capabilities(vim.lsp.protoco
-- }) -- })
-- default language servers -- default language servers
local servers = { 'clangd', 'rust_analyzer', 'pyright', 'tsserver', 'sumneko_lua', 'cmake', 'tailwindcss', 'prismals', local servers = { 'clangd', 'rust_analyzer', 'pyright', 'tsserver', 'sumneko_lua', 'cmake', 'tailwindcss', 'prismals',
'rnix', 'eslint', 'terraform-ls', 'tflint', 'svelte', 'astro', 'clojure_lsp' } 'rnix', 'eslint', 'terraform-ls', 'tflint', 'svelte', 'astro', 'clojure_lsp', "bashls" }
require("mason").setup({ require("mason").setup({
ui = { ui = {
icons = { icons = {
@ -644,3 +645,5 @@ require('lualine').setup {
lualine_z = {}, lualine_z = {},
} }
} }
require('nvim-surround').setup {}

View File

@ -4,12 +4,15 @@
echo "Please run this in sudo mode for sudo apt* commands" echo "Please run this in sudo mode for sudo apt* commands"
# Pip and Python3 # Pip and Python3
if [ ! python3 --version ] ; then
PYTHON_3=${PYTHON_3:-"python3.10"} PYTHON_3=${PYTHON_3:-"python3.10"}
apt install $PYTHON_3 apt install $PYTHON_3
$PYTHON_3 -m ensurepip --upgrade $PYTHON_3 -m ensurepip --upgrade
$PYTHON_3 -m pip install --upgrade pip $PYTHON_3 -m pip install --upgrade pip
fi
# Neovim vim-plug # Neovim vim-plug
sh -c 'curl -fLo "${XDG_DATA_HOME:-$HOME/.local/share}"/nvim/site/autoload/plug.vim --create-dirs \ sh -c 'curl -fLo "${XDG_DATA_HOME:-$HOME/.local/share}"/nvim/site/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim' https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'