mirror of
https://github.com/foo-dogsquared/dotfiles.git
synced 2025-01-31 04:57:57 +00:00
Update Neovim config
This commit is contained in:
parent
cc226ff929
commit
26de954766
@ -5,8 +5,8 @@ function setup()
|
||||
-- Use an on_attach function to only map the following keys
|
||||
-- after the language server attaches to the current buffer
|
||||
local on_attach = function(client, bufnr)
|
||||
local function keymap_set(...) vim.keymap.set(bufnr, ...) end
|
||||
local function buf_set_option(...) vim.keymap.set(bufnr, ...) end
|
||||
local function keymap_set(...) vim.api.nvim_buf_set_keymap(bufnr, ...) end
|
||||
local function buf_set_option(...) vim.api.nvim_buf_set_option(bufnr, ...) end
|
||||
|
||||
-- Enable completion triggered by <c-x><c-o>
|
||||
buf_set_option("omnifunc", "v:lua.vim.lsp.omnifunc")
|
||||
|
@ -264,6 +264,14 @@ return require("packer").startup(function(use)
|
||||
use { "vmchale/dhall-vim" } -- Dhall
|
||||
use { "ziglang/zig.vim" } -- Zig
|
||||
|
||||
-- Use Neovim even inside of browsers.
|
||||
use {
|
||||
"glacambre/firenvim",
|
||||
run = function()
|
||||
vim.fn["firenvim#install"](0)
|
||||
end
|
||||
}
|
||||
|
||||
if packer_bootstrap then
|
||||
require("packer").sync()
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user