mirror of
https://github.com/gyoder/dots.git
synced 2026-02-27 17:03:45 +00:00
data changes
This commit is contained in:
parent
5dbb18ee4d
commit
20ccee259a
6 changed files with 35 additions and 5 deletions
14
fish/.config/fish/conf.d/fish_frozen_key_bindings.fish
Normal file
14
fish/.config/fish/conf.d/fish_frozen_key_bindings.fish
Normal file
|
|
@ -0,0 +1,14 @@
|
||||||
|
# This file was created by fish when upgrading to version 4.3, to migrate
|
||||||
|
# the 'fish_key_bindings' variable from its old default scope (universal)
|
||||||
|
# to its new default scope (global). We recommend you delete this file
|
||||||
|
# and configure key bindings in ~/.config/fish/config.fish if needed.
|
||||||
|
|
||||||
|
# set --global fish_key_bindings fish_default_key_bindings
|
||||||
|
|
||||||
|
# Prior to version 4.3, fish shipped an event handler that runs
|
||||||
|
# `set --universal fish_key_bindings fish_default_key_bindings`
|
||||||
|
# whenever the fish_key_bindings variable is erased.
|
||||||
|
# This means that as long as any fish < 4.3 is still running on this system,
|
||||||
|
# we cannot complete the migration.
|
||||||
|
# As a workaround, erase the universal variable at every shell startup.
|
||||||
|
set --erase --universal fish_key_bindings
|
||||||
|
|
@ -49,7 +49,6 @@ if status is-interactive
|
||||||
|
|
||||||
fish_config theme choose "Rosé Pine"
|
fish_config theme choose "Rosé Pine"
|
||||||
starship init fish | source
|
starship init fish | source
|
||||||
if not string match -q "*purdue*" "$host"
|
zoxide init fish | source
|
||||||
zoxide init fish | source
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,7 @@ require("remap")
|
||||||
|
|
||||||
|
|
||||||
if vim.g.is_purdue then
|
if vim.g.is_purdue then
|
||||||
require("westwood-lint")
|
-- require("westwood-lint")
|
||||||
end
|
end
|
||||||
require("standard-lint")
|
require("standard-lint")
|
||||||
|
|
||||||
|
|
|
||||||
15
vim/.config/nvim/lsp/asm-lsp.lua
Normal file
15
vim/.config/nvim/lsp/asm-lsp.lua
Normal file
|
|
@ -0,0 +1,15 @@
|
||||||
|
---@brief
|
||||||
|
---
|
||||||
|
--- https://github.com/bergercookie/asm-lsp
|
||||||
|
---
|
||||||
|
--- Language Server for NASM/GAS/GO Assembly
|
||||||
|
---
|
||||||
|
--- `asm-lsp` can be installed via cargo:
|
||||||
|
--- cargo install asm-lsp
|
||||||
|
|
||||||
|
---@type vim.lsp.Config
|
||||||
|
return {
|
||||||
|
cmd = { 'asm-lsp' },
|
||||||
|
filetypes = { 'asm', 'vmasm' },
|
||||||
|
root_markers = { '.asm-lsp.toml', '.git' },
|
||||||
|
}
|
||||||
|
|
@ -77,6 +77,8 @@ vim.lsp.config('csharp-ls', {
|
||||||
|
|
||||||
vim.lsp.enable("csharp-ls")
|
vim.lsp.enable("csharp-ls")
|
||||||
|
|
||||||
|
vim.lsp.enable("asm-lsp")
|
||||||
|
|
||||||
-- https://lsp-zero.netlify.app/blog/lsp-client-features.html
|
-- https://lsp-zero.netlify.app/blog/lsp-client-features.html
|
||||||
|
|
||||||
vim.opt.completeopt = { 'menu', 'menuone', 'noselect', 'noinsert' }
|
vim.opt.completeopt = { 'menu', 'menuone', 'noselect', 'noinsert' }
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@ vim.api.nvim_create_autocmd({ "BufEnter", "BufWritePost", "InsertLeave", "TextCh
|
||||||
callback = function()
|
callback = function()
|
||||||
-- try_lint without arguments runs the linters defined in `linters_by_ft`
|
-- try_lint without arguments runs the linters defined in `linters_by_ft`
|
||||||
-- for the current filetype
|
-- for the current filetype
|
||||||
require("lint").try_lint()
|
require("lint").try_lint(nil, { ignore_errors = true })
|
||||||
|
|
||||||
-- You can call `try_lint` with a linter name or a list of names to always
|
-- You can call `try_lint` with a linter name or a list of names to always
|
||||||
-- run specific linters, independent of the `linters_by_ft` configuration
|
-- run specific linters, independent of the `linters_by_ft` configuration
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue