Skip to content

Instantly share code, notes, and snippets.

View theodormanolescu's full-sized avatar

Theodor Manolescu theodormanolescu

View GitHub Profile
@theodormanolescu
theodormanolescu / lsp.lua
Created November 1, 2021 19:55
current config
" comp
set completeopt=menuone,noselect
lua << EOF
local nvim_lsp = require('lspconfig')
local on_attach = function(client, bufnr)
local function buf_set_keymap(...) vim.api.nvim_buf_set_keymap(bufnr, ...) end
local function buf_set_option(...) vim.api.nvim_buf_set_option(bufnr, ...) end
local opts = { noremap=true, silent=true }