Poggers
This commit is contained in:
parent
c2251cb9a8
commit
56a1f0d508
@ -5,7 +5,7 @@
|
|||||||
;; Your init file should contain only one such instance.
|
;; Your init file should contain only one such instance.
|
||||||
;; If there is more than one, they won't work right.
|
;; If there is more than one, they won't work right.
|
||||||
'(custom-safe-themes
|
'(custom-safe-themes
|
||||||
'("5784d048e5a985627520beb8a101561b502a191b52fa401139f4dd20acb07607" "e3b2bad7b781a968692759ad12cb6552bc39d7057762eefaf168dbe604ce3a4b" "1704976a1797342a1b4ea7a75bdbb3be1569f4619134341bd5a4c1cfb16abad4" "d268b67e0935b9ebc427cad88ded41e875abfcc27abd409726a92e55459e0d01" default))
|
'("7eea50883f10e5c6ad6f81e153c640b3a288cd8dc1d26e4696f7d40f754cc703" "5784d048e5a985627520beb8a101561b502a191b52fa401139f4dd20acb07607" "e3b2bad7b781a968692759ad12cb6552bc39d7057762eefaf168dbe604ce3a4b" "1704976a1797342a1b4ea7a75bdbb3be1569f4619134341bd5a4c1cfb16abad4" "d268b67e0935b9ebc427cad88ded41e875abfcc27abd409726a92e55459e0d01" default))
|
||||||
'(git-gutter:update-interval 1)
|
'(git-gutter:update-interval 1)
|
||||||
'(warning-suppress-log-types '((iedit) (iedit) (iedit) (iedit) (iedit) (iedit) (iedit)))
|
'(warning-suppress-log-types '((iedit) (iedit) (iedit) (iedit) (iedit) (iedit) (iedit)))
|
||||||
'(warning-suppress-types
|
'(warning-suppress-types
|
||||||
|
@ -15,7 +15,7 @@ set -gx XDG_SESSION_TYPE wayland
|
|||||||
set -gx XDG_CURRENT_DESKTOP sway
|
set -gx XDG_CURRENT_DESKTOP sway
|
||||||
set -gx MOZ_ENABLE_WAYLAND 1
|
set -gx MOZ_ENABLE_WAYLAND 1
|
||||||
|
|
||||||
set -gx EDITOR vim
|
set -gx EDITOR nvim
|
||||||
set -gx NVIM_LISTEN_ADDRESS /tmp/nvimsocket
|
set -gx NVIM_LISTEN_ADDRESS /tmp/nvimsocket
|
||||||
|
|
||||||
set -gx LC_ALL en_US.UTF-8
|
set -gx LC_ALL en_US.UTF-8
|
||||||
|
@ -6,6 +6,7 @@ vim.g.nord_contrast = true
|
|||||||
vim.g.nord_borders = true
|
vim.g.nord_borders = true
|
||||||
vim.g.nord_disable_background = false
|
vim.g.nord_disable_background = false
|
||||||
vim.g.nord_italic = true
|
vim.g.nord_italic = true
|
||||||
|
vim.termguicolors = true
|
||||||
|
|
||||||
lvim.colorscheme = "nord"
|
lvim.colorscheme = "nord"
|
||||||
lvim.shell = "/bin/fish"
|
lvim.shell = "/bin/fish"
|
||||||
@ -30,34 +31,30 @@ lvim.builtin.treesitter.ensure_installed = {}
|
|||||||
lvim.builtin.treesitter.ignore_install = { "" }
|
lvim.builtin.treesitter.ignore_install = { "" }
|
||||||
lvim.builtin.treesitter.highlight.enabled = true
|
lvim.builtin.treesitter.highlight.enabled = true
|
||||||
|
|
||||||
lvim.lang.python.formatters = {
|
local formatters = require("lvim.lsp.null-ls.formatters")
|
||||||
|
local linters = require("lvim.lsp.null-ls.linters")
|
||||||
|
|
||||||
|
formatters.setup({
|
||||||
{
|
{
|
||||||
exe = "black",
|
exe = "black",
|
||||||
args = {},
|
args = {},
|
||||||
},
|
},
|
||||||
}
|
{
|
||||||
|
exe = "clang_format",
|
||||||
|
filetypes = { "c", "cpp" },
|
||||||
|
},
|
||||||
|
{
|
||||||
|
exe = "rustfmt",
|
||||||
|
},
|
||||||
|
{ exe = "prettier" },
|
||||||
|
{ exe = "gofmt" },
|
||||||
|
{ exe = "eslint_d" },
|
||||||
|
{ exe = "stylua" },
|
||||||
|
})
|
||||||
|
|
||||||
lvim.lang.c.formatters = { { exe = "clang_format" } }
|
linters.setup({
|
||||||
lvim.lang.cpp.formatters = lvim.lang.c.formatters
|
{ exe = "flake8" },
|
||||||
|
})
|
||||||
lvim.lang.rust.formatters = { { exe = "rustfmt" } }
|
|
||||||
|
|
||||||
lvim.lang.json.formatters = { { exe = "prettier" } }
|
|
||||||
|
|
||||||
lvim.lang.go.formatters = { { exe = "gofmt" } }
|
|
||||||
|
|
||||||
lvim.lang.javascript.linters = { { exe = "eslint_d" } }
|
|
||||||
lvim.lang.javascriptreact.linters = lvim.lang.javascript.linters
|
|
||||||
lvim.lang.typescript.linters = { { exe = "eslint_d" } }
|
|
||||||
lvim.lang.typescriptreact.linters = lvim.lang.typescript.linters
|
|
||||||
lvim.lang.typescript.formatters = { { exe = "prettier" } }
|
|
||||||
lvim.lang.typescriptreact.formatters = lvim.lang.typescript.formatters
|
|
||||||
lvim.lang.javascript.formatters = { { exe = "prettier" } }
|
|
||||||
lvim.lang.javascriptreact.formatters = lvim.lang.javascript.formatters
|
|
||||||
|
|
||||||
lvim.lang.lua.formatters = { { exe = "stylua" } }
|
|
||||||
|
|
||||||
lvim.lang.python.linters = { { exe = "flake8", args = {} } }
|
|
||||||
|
|
||||||
-- Additional Plugins
|
-- Additional Plugins
|
||||||
lvim.plugins = {
|
lvim.plugins = {
|
||||||
|
@ -3,3 +3,4 @@ http://www.vox.com/rss/policy-and-politics/index.xml "Politics"
|
|||||||
https://based.cooking/rss.xml "Cooking"
|
https://based.cooking/rss.xml "Cooking"
|
||||||
http://cyberciti.biz/feed "Technology"
|
http://cyberciti.biz/feed "Technology"
|
||||||
https://medium.com/feed/better-programming "Technology"
|
https://medium.com/feed/better-programming "Technology"
|
||||||
|
https://protesilaos.com/codelog.xml "Technology"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user