master
Dominik Madarász 2023-07-19 19:23:58 +02:00
parent 7af626de91
commit 6cf4bf964c
5 changed files with 26 additions and 18 deletions

View File

@ -0,0 +1,13 @@
return {
"jackMort/ChatGPT.nvim",
event = "VeryLazy",
config = function()
require("chatgpt").setup()
end,
dependencies = {
"MunifTanjim/nui.nvim",
"nvim-lua/plenary.nvim",
"nvim-telescope/telescope.nvim"
}
}

View File

@ -0,0 +1,12 @@
vim.cmd([[
inoremap <silent><script><expr> <C-J> copilot#Accept("\<CR>")
let g:copilot_no_tab_map = v:true
let g:copilot_filetypes = { 'jai': v:true}
]])
return {
"github/copilot.vim",
version = "*"
}

View File

@ -42,7 +42,6 @@ local servers = {
telemetry = { enable = false }, telemetry = { enable = false },
}, },
}, },
ocamllsp = {}
} }
-- Setup neovim lua configuration -- Setup neovim lua configuration

View File

@ -1,16 +0,0 @@
-- usercmd group
local augroup = vim.api.nvim_create_augroup("ocaml_cmds", { clear = true })
-- OCaml setup
vim.cmd [[
let g:opamshare = substitute(system('opam var share'),'\n$','','''')
execute "set rtp+=" . g:opamshare . "/merlin/vim"
execute "set rtp+=" . g:opamshare . "/ocp-indent/vim"
]]
vim.api.nvim_create_autocmd("FileType", {
pattern = { "ocaml" },
group = augroup,
desc = "",
command = "setlocal shiftwidth=2 tabstop=2 softtabstop=2"
})

View File

@ -2,7 +2,7 @@
-- See `:help nvim-treesitter` -- See `:help nvim-treesitter`
require('nvim-treesitter.configs').setup { require('nvim-treesitter.configs').setup {
-- Add languages to be installed here that you want installed for treesitter -- Add languages to be installed here that you want installed for treesitter
ensure_installed = { 'c', 'cpp', 'go', 'lua', 'python', 'rust', 'tsx', 'typescript', 'vimdoc', 'vim', 'wgsl', 'ocaml' }, ensure_installed = { 'c', 'cpp', 'go', 'lua', 'python', 'rust', 'tsx', 'typescript', 'vimdoc', 'vim', 'wgsl' },
-- Autoinstall languages that are not installed. Defaults to false (but you can change for yourself!) -- Autoinstall languages that are not installed. Defaults to false (but you can change for yourself!)
auto_install = false, auto_install = false,