[feat] Add stuff

This commit is contained in:
Uttarayan Mondal
2024-03-03 00:57:19 +05:30
parent 07b07e11de
commit 6453f713a7
10 changed files with 165 additions and 124 deletions

View File

@@ -19,6 +19,7 @@ require('telescope').load_extension("file_browser")
vim.g.rustaceanvim = {
server = {
capabilities = require 'lsp-zero'.get_capabilities(),
on_attach = function(client, bufnr)
if client.server_capabilities.inlayHintProvider then
vim.lsp.inlay_hint.enable(bufnr, true)
@@ -102,7 +103,7 @@ cmp.setup.cmdline(':', {
})
cmp.setup.filetype('gitcommit', {
sources = cmp.config.sources({
{ name = 'git' }, -- You can specify the `git` source if [you were installed it](https://github.com/petertriho/cmp-git).
{ name = 'git' }, -- You can specify the `git` source if [you were installed it](https://github.com/petertriho/cmp-git).
}, {
{ name = 'buffer' },
})