summaryrefslogtreecommitdiff
path: root/config/lua
diff options
context:
space:
mode:
Diffstat (limited to 'config/lua')
-rw-r--r--config/lua/getchoo/efmls.lua58
-rw-r--r--config/lua/getchoo/init.lua25
2 files changed, 0 insertions, 83 deletions
diff --git a/config/lua/getchoo/efmls.lua b/config/lua/getchoo/efmls.lua
deleted file mode 100644
index 92d61e9..0000000
--- a/config/lua/getchoo/efmls.lua
+++ /dev/null
@@ -1,58 +0,0 @@
-local alex = require("efmls-configs.linters.alex")
-alex.rootMarkers = nil
-local actionlint = require("efmls-configs.linters.actionlint")
-local beautysh = require("efmls-configs.formatters.beautysh")
-local fish_indent = require("efmls-configs.formatters.fish_indent")
-local prettier = require("efmls-configs.formatters.prettier")
-local prettier_eslint = require("efmls-configs.formatters.prettier_eslint")
-local selene = require("efmls-configs.linters.selene")
-local statix = require("efmls-configs.linters.statix")
-local stylua = require("efmls-configs.formatters.stylua")
-
-local languages = {
- all = { alex },
-
- bash = {
- beautysh,
- },
-
- css = { prettier },
-
- fish = { fish_indent },
-
- html = { prettier },
-
- javascript = { prettier_eslint },
-
- json = { prettier },
-
- lua = { selene, stylua },
-
- nix = { statix },
-
- sass = { prettier },
-
- scss = { prettier },
-
- sh = { beautysh },
-
- typescript = { prettier_eslint },
-
- yaml = { prettier, actionlint },
-
- zsh = { beautysh },
-}
-
-return {
- filetypes = vim.tbl_keys(languages),
-
- settings = {
- rootMarkers = { ".git/" },
- languages = languages,
- },
-
- init_options = {
- documentFormatting = true,
- documentRangeFormatting = true,
- },
-}
diff --git a/config/lua/getchoo/init.lua b/config/lua/getchoo/init.lua
deleted file mode 100644
index a919bc8..0000000
--- a/config/lua/getchoo/init.lua
+++ /dev/null
@@ -1,25 +0,0 @@
-local opt = vim.opt
-
-opt.shiftwidth = 2
-opt.tabstop = 2
--- https://www.reddit.com/r/neovim/comments/14n6iiy/if_you_have_treesitter_make_sure_to_disable
--- TLDR: this breaks things with treesitter indent
-opt.smartindent = false
-opt.number = true
-opt.wrap = true
-opt.syntax = "on"
-opt.termguicolors = true
-opt.mouse = "a"
-
-local backupDir = vim.fn.stdpath("state") .. "/backup"
-local b = io.open(backupDir, "r")
-if b then
- b:close()
-else
- os.execute("mkdir -p " .. backupDir)
-end
-
-opt.backupdir = backupDir
-
-vim.g.mapleader = ","
-vim.g.do_filetype_lua = 1